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.001009/0.001009, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001006/0.001006, allocations: 166.9 kB / 25.33 MB, free: 8.594 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 0.9227/0.9227, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.353e-06/1.353e-06, allocations: 0 / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.757e-05, allocations: 10.19 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.008986/0.009004, allocations: 8.857 MB / 259.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004063/0.01307, allocations: 2.875 MB / 262.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.01353, allocations: 47.69 kB / 262.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.01471, allocations: 0.5941 MB / 263.4 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.0161, allocations: 0.7994 MB / 264.2 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.0166, allocations: 327.5 kB / 264.6 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.01862, allocations: 2.481 MB / 267 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.01971, allocations: 0.9688 MB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.02146, allocations: 1.739 MB / 269.7 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.02273, allocations: 1.22 MB / 271 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.02305, allocations: 268 kB / 271.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.02356, allocations: 363.8 kB / 271.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005906/0.02415, allocations: 0.8024 MB / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007838/0.02493, allocations: 0.8652 MB / 273.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.02683, allocations: 1.99 MB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.02683, allocations: 4 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.02683, allocations: 0 / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.484e-05/0.02685, allocations: 0 / 275.2 MB, free: 15.17 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.00332/0.03017, allocations: 2.658 MB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.03021, allocations: 15.98 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006884/0.0309, allocations: 427.3 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.03246, allocations: 1.173 MB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.386e-05/0.03255, allocations: 136 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.03278, allocations: 188.3 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.03506, allocations: 1.486 MB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.0351, allocations: 3.938 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.03524, allocations: 72 kB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.619e-05/0.03532, allocations: 83.5 kB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.03681, allocations: 0.6606 MB / 282.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007161/0.04397, allocations: 6.035 MB / 288.2 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.04497, allocations: 0.5611 MB / 288.7 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/0.04588, allocations: 0.5013 MB / 289.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.04603, allocations: 48.97 kB / 289.3 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.04607, allocations: 42.39 kB / 289.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.986e-06/0.04607, allocations: 0 / 289.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.00432/0.05039, allocations: 2.708 MB / 292 MB, free: 13.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.05042, allocations: 64.41 kB / 292.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.05138, allocations: 1.089 MB / 293.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.05143, allocations: 49.7 kB / 293.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.0519, allocations: 1.003 MB / 294.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.05209, allocations: 372.9 kB / 294.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.05231, allocations: 220.5 kB / 294.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.05245, allocations: 0.5277 MB / 295.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.05275, allocations: 202.5 kB / 295.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.05324, allocations: 0.6003 MB / 296.1 MB, free: 9.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008767/0.05412, allocations: 0.8937 MB / 297 MB, free: 8.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.05412, allocations: 4 kB / 297 MB, free: 8.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001703/0.05582, allocations: 1.272 MB / 298.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.05585, allocations: 8 kB / 298.3 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.05586, allocations: 8 kB / 298.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.05696, allocations: 0.492 MB / 298.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.05743, allocations: 239.6 kB / 299 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/0.06186, allocations: 5.698 MB / 304.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.06227, allocations: 72.06 kB / 304.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.06232, allocations: 47.98 kB / 304.9 MB, free: 468 kB / 282.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%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003124/0.06264, allocations: 224.3 kB / 305.1 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.06282, allocations: 175 kB / 305.2 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.06407, allocations: 0.9507 MB / 306.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.06407, allocations: 12 kB / 306.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.06408, allocations: 0 / 306.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.06409, allocations: 11.97 kB / 306.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.06708, allocations: 2.59 MB / 308.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.06708, allocations: 224 / 308.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.06749, allocations: 179.8 kB / 309 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005949/0.06809, allocations: 270.4 kB / 309.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.06815, allocations: 31.91 kB / 309.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.07127, allocations: 6.162 MB / 315.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.07128, allocations: 4 kB / 315.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.07286, allocations: 1.374 MB / 316.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.07315, allocations: 243 kB / 317.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.07325, allocations: 35.92 kB / 317.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.07357, allocations: 55.94 kB / 317.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.07372, allocations: 92.77 kB / 317.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.07376, allocations: 24 kB / 317.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005751/0.07433, allocations: 0.65 MB / 317.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07433, allocations: 0 / 317.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008474/0.07518, allocations: 424 kB / 318.3 MB, free: 2.41 MB / 298.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002492/0.07543, allocations: 177 kB / 318.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.07677, allocations: 1.268 MB / 319.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.07678, allocations: 0 / 319.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008347/0.07761, allocations: 1.009 MB / 320.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/0.07845, allocations: 337.9 kB / 321.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.08238, allocations: 3.378 MB / 324.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.08278, allocations: 0.5153 MB / 325 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.08322, allocations: 239 kB / 325.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.0834, allocations: 88.48 kB / 325.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0834, allocations: 0 / 325.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of Templates: time 0.02633/0.1097, allocations: 23.14 MB / 348.5 MB, free: 4.059 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.334843478165567]