Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 84.09 kB / 22 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 161.8 kB / 25.25 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 59.92 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2247, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.0107/0.2354, allocations: 7.791 MB / 356.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005468/0.2408, allocations: 2.731 MB / 359 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009079/0.2417, allocations: 51.62 kB / 359.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.2434, allocations: 0.59 MB / 359.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.2454, allocations: 0.7496 MB / 360.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007179/0.2462, allocations: 323.6 kB / 360.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.2488, allocations: 2.229 MB / 363 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.2503, allocations: 0.9612 MB / 363.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.2518, allocations: 1.043 MB / 365 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.2538, allocations: 1.23 MB / 366.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.2542, allocations: 272 kB / 366.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006743/0.2549, allocations: 351.8 kB / 366.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008405/0.2557, allocations: 0.7674 MB / 367.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.2569, allocations: 0.9841 MB / 368.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.2607, allocations: 3.56 MB / 372.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2607, allocations: 0 / 372.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2607, allocations: 4 kB / 372.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.566e-05/0.2608, allocations: 4 kB / 372.1 MB, free: 7.77 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004941/0.2657, allocations: 2.458 MB / 374.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2658, allocations: 15.98 kB / 374.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000688/0.2664, allocations: 267.4 kB / 374.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.2686, allocations: 1.164 MB / 376 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.2688, allocations: 131.9 kB / 376.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.2691, allocations: 192.1 kB / 376.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004186/0.2733, allocations: 2.471 MB / 378.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.529e-05/0.2733, allocations: 4 kB / 378.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.2735, allocations: 72 kB / 378.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.2736, allocations: 91.5 kB / 379 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003668/0.2773, allocations: 1.958 MB / 381 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.2882, allocations: 6.114 MB / 387.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.29, allocations: 0.9924 MB / 388.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.2916, allocations: 0.803 MB / 388.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.2918, allocations: 44.97 kB / 388.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.2918, allocations: 39.56 kB / 388.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.735e-06/0.2918, allocations: 0 / 388.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01342/0.3052, allocations: 5.52 MB / 394.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.3053, allocations: 64.41 kB / 394.5 MB, free: 1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.3069, allocations: 1.083 MB / 395.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.307, allocations: 45.64 kB / 395.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007173/0.3077, allocations: 0.898 MB / 396.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.308, allocations: 380.8 kB / 396.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.3084, allocations: 218.9 kB / 397.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3086, allocations: 357.9 kB / 397.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.3097, allocations: 0.6155 MB / 398.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.311, allocations: 0.9236 MB / 399 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.3136, allocations: 1.636 MB / 400.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3136, allocations: 4 kB / 400.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003877/0.3175, allocations: 2.133 MB / 402.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3175, allocations: 11.91 kB / 402.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3175, allocations: 15.98 kB / 402.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.3187, allocations: 480.1 kB / 403.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3197, allocations: 267.6 kB / 403.6 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007452/0.3271, allocations: 6.596 MB / 410.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3282, allocations: 83.92 kB / 410.2 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3283, allocations: 55.94 kB / 410.3 MB, free: 0.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001041/0.3294, allocations: 0.6027 MB / 410.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.3296, allocations: 123.2 kB / 411 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/0.3332, allocations: 1.928 MB / 412.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.3332, allocations: 11.94 kB / 413 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3332, allocations: 4 kB / 413 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3333, allocations: 3.984 kB / 413 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006803/0.3401, allocations: 3.663 MB / 416.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.3401, allocations: 4 kB / 416.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007738/0.3408, allocations: 172.3 kB / 416.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.3423, allocations: 0.527 MB / 417.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.3423, allocations: 31.97 kB / 417.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008797/0.3511, allocations: 8.061 MB / 425.4 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.3511, allocations: 7.938 kB / 425.4 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/0.3562, allocations: 2.862 MB / 428.3 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/0.3568, allocations: 262.9 kB / 428.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.357, allocations: 35.94 kB / 428.6 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/0.3578, allocations: 75.91 kB / 428.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.358, allocations: 104.7 kB / 428.8 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.3581, allocations: 28 kB / 428.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.3592, allocations: 0.7332 MB / 429.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3592, allocations: 0 / 429.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00145/0.3607, allocations: 403.9 kB / 429.9 MB, free: 12.31 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003493/0.361, allocations: 186.9 kB / 430.1 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003443/0.3645, allocations: 1.947 MB / 432 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3645, allocations: 0 / 432 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.3668, allocations: 1.355 MB / 433.4 MB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.3684, allocations: 324.4 kB / 433.7 MB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/0.3749, allocations: 3.975 MB / 437.7 MB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.3763, allocations: 1.05 MB / 438.7 MB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008188/0.3771, allocations: 278.7 kB / 439 MB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.3773, allocations: 92.48 kB / 439.1 MB, free: 2.867 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3773, allocations: 3.938 kB / 439.1 MB, free: 2.863 MB / 398.1 MB Notification: Performance of Templates: time 0.03964/0.417, allocations: 21.14 MB / 460.2 MB, free: 13.67 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.442728607100435]