Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.002499/0.002499, allocations: 91.66 kB / 21.73 MB, free: 2.676 MB / 18.57 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.001981/0.001981, allocations: 160.3 kB / 25.02 MB, free: 8.945 MB / 18.57 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.41/1.41, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 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_Initialize,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.343e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.02358/0.02362, allocations: 8.763 MB / 259.1 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.03426, allocations: 2.864 MB / 262 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.03605, allocations: 43.69 kB / 262 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.03926, allocations: 0.6054 MB / 262.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.04388, allocations: 0.7956 MB / 263.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.04546, allocations: 319.5 kB / 263.8 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0061/0.05156, allocations: 2.481 MB / 266.2 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.05374, allocations: 0.965 MB / 267.2 MB, free: 6.859 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.05645, allocations: 1.59 MB / 268.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.05881, allocations: 1.27 MB / 270.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004918/0.0593, allocations: 280 kB / 270.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007977/0.0601, allocations: 371.9 kB / 270.7 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.0611, allocations: 0.8452 MB / 271.6 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.06244, allocations: 0.877 MB / 272.4 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005361/0.0678, allocations: 3.751 MB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.06781, allocations: 4 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.06781, allocations: 0 / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001122/0.06792, allocations: 3.938 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006726/0.07465, allocations: 2.908 MB / 279.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.07471, allocations: 15.98 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.07579, allocations: 423.3 kB / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.07859, allocations: 1.203 MB / 280.7 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.07873, allocations: 132 kB / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.07906, allocations: 188.3 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00462/0.08368, allocations: 2.305 MB / 283.3 MB, free: 6.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.641e-05/0.08377, allocations: 15.86 kB / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.08404, allocations: 79.98 kB / 283.4 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.08418, allocations: 79.5 kB / 283.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.08764, allocations: 1.501 MB / 285 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.1038, allocations: 8.565 MB / 293.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.1054, allocations: 0.6957 MB / 294.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.1071, allocations: 0.634 MB / 294.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.1073, allocations: 48.97 kB / 295 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.1073, allocations: 42.39 kB / 295 MB, free: 10.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 2.886e-06/0.1073, allocations: 0 / 295 MB, free: 10.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.008664/0.116, allocations: 3.211 MB / 298.2 MB, free: 7.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.1161, allocations: 64.41 kB / 298.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.1185, allocations: 1.491 MB / 299.8 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.1186, allocations: 45.7 kB / 299.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.1198, allocations: 1.065 MB / 300.9 MB, free: 4.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/0.1203, allocations: 404.9 kB / 301.3 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/0.1208, allocations: 260.5 kB / 301.5 MB, free: 3.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005065/0.1213, allocations: 0.5668 MB / 302.1 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/0.122, allocations: 326.4 kB / 302.4 MB, free: 2.922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.1233, allocations: 0.7721 MB / 303.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.1254, allocations: 1.206 MB / 304.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.1254, allocations: 4 kB / 304.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004298/0.1297, allocations: 1.592 MB / 306 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.1297, allocations: 11.94 kB / 306 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.1298, allocations: 11.94 kB / 306 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/0.1321, allocations: 0.5573 MB / 306.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/0.1331, allocations: 231.7 kB / 306.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.1431, allocations: 6.186 MB / 313 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.1444, allocations: 75.91 kB / 313.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.1446, allocations: 48 kB / 313.1 MB, free: 7.637 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001105/0.1457, allocations: 0.5314 MB / 313.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.1461, allocations: 179 kB / 313.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.1489, allocations: 1.146 MB / 315 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.1489, allocations: 8 kB / 315 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.1489, allocations: 4 kB / 315 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.1489, allocations: 7.922 kB / 315 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008385/0.1573, allocations: 3.291 MB / 318.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.1573, allocations: 0 / 318.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.1586, allocations: 183.8 kB / 318.4 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/0.1605, allocations: 306.5 kB / 318.7 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.1606, allocations: 27.98 kB / 318.8 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/0.1708, allocations: 6.389 MB / 325.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/0.1708, allocations: 7.938 kB / 325.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/0.1768, allocations: 1.71 MB / 326.9 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.1781, allocations: 255 kB / 327.1 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.1784, allocations: 27.98 kB / 327.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.1796, allocations: 67.94 kB / 327.2 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/0.18, allocations: 88.83 kB / 327.3 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.1801, allocations: 39.86 kB / 327.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002214/0.1824, allocations: 0.8844 MB / 328.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1824, allocations: 0 / 328.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002453/0.1848, allocations: 431.9 kB / 328.7 MB, free: 7.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,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.0005693/0.1854, allocations: 181 kB / 328.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004892/0.1903, allocations: 1.583 MB / 330.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.1903, allocations: 0.625 kB / 330.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003042/0.1933, allocations: 1.16 MB / 331.6 MB, free: 4.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.196, allocations: 334 kB / 331.9 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.206, allocations: 3.534 MB / 335.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.2081, allocations: 1.032 MB / 336.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001421/0.2095, allocations: 243 kB / 336.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.2099, allocations: 92.48 kB / 336.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of SimCode: time 2.314e-06/0.2099, allocations: 4 kB / 336.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of Templates: time 0.1976/0.4075, allocations: 23.14 MB / 359.9 MB, free: 93.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.593558956985362]