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.001405/0.001405, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001628/0.001628, allocations: 165.8 kB / 25.7 MB, free: 8.438 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.8732/0.8732, allocations: 158.6 MB / 187.6 MB, free: 2.785 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 2.544e-06/2.544e-06, allocations: 4 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/2.018e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.006798/0.006818, allocations: 8.638 MB / 260.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.01131, allocations: 2.948 MB / 263.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.01179, allocations: 47.69 kB / 263.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009683/0.01276, allocations: 0.5977 MB / 263.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.01398, allocations: 0.8072 MB / 264.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.01443, allocations: 331.4 kB / 264.9 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.0159, allocations: 2.478 MB / 267.4 MB, free: 7.336 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007928/0.01669, allocations: 0.9884 MB / 268.4 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.01809, allocations: 1.727 MB / 270.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009772/0.01906, allocations: 1.216 MB / 271.3 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.01927, allocations: 272 kB / 271.6 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.01965, allocations: 359.8 kB / 271.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004678/0.02012, allocations: 0.8102 MB / 272.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.02068, allocations: 0.8574 MB / 273.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.02211, allocations: 1.997 MB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.02211, allocations: 0 / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02212, allocations: 0 / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.02213, allocations: 0 / 275.6 MB, free: 15.04 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.002155/0.02428, allocations: 2.359 MB / 278 MB, free: 12.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.02431, allocations: 11.98 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004729/0.02479, allocations: 344.5 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/0.02572, allocations: 0.8499 MB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.02579, allocations: 139.9 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.02596, allocations: 192.3 kB / 279.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.02726, allocations: 1.387 MB / 280.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.0273, allocations: 11.88 kB / 280.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.0274, allocations: 75.98 kB / 280.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.629e-05/0.02747, allocations: 83.5 kB / 281 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007118/0.02818, allocations: 0.5227 MB / 281.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004677/0.03286, allocations: 4.76 MB / 286.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.03347, allocations: 0.5279 MB / 286.8 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.03402, allocations: 446.5 kB / 287.3 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.03413, allocations: 44.91 kB / 287.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.03416, allocations: 47.5 kB / 287.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.525e-06/0.03416, allocations: 4 kB / 287.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003509/0.03767, allocations: 2.199 MB / 289.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.0377, allocations: 64.39 kB / 289.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.03832, allocations: 0.8789 MB / 290.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.03837, allocations: 45.64 kB / 290.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.03866, allocations: 0.7559 MB / 291.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.03883, allocations: 372.8 kB / 291.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.03904, allocations: 206.8 kB / 291.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.03912, allocations: 349.8 kB / 292.2 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.03931, allocations: 145.4 kB / 292.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.03961, allocations: 432.3 kB / 292.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.04018, allocations: 0.6936 MB / 293.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.04019, allocations: 4 kB / 293.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001179/0.04137, allocations: 0.9354 MB / 294.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.04139, allocations: 8 kB / 294.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.0414, allocations: 12 kB / 294.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009313/0.04233, allocations: 483.9 kB / 294.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.04275, allocations: 219.6 kB / 295.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/0.04604, allocations: 4.146 MB / 299.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.04642, allocations: 43.98 kB / 299.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.04647, allocations: 35.98 kB / 299.3 MB, free: 6.367 MB / 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.0003105/0.04678, allocations: 184.5 kB / 299.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.04694, allocations: 115.9 kB / 299.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009122/0.04785, allocations: 0.739 MB / 300.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.04785, allocations: 12 kB / 300.4 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.04786, allocations: 4 kB / 300.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.04787, allocations: 7.969 kB / 300.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.05002, allocations: 1.841 MB / 302.2 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.05003, allocations: 4 kB / 302.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.05038, allocations: 156 kB / 302.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005524/0.05094, allocations: 295.1 kB / 302.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.05098, allocations: 27.97 kB / 302.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.0533, allocations: 4.358 MB / 307.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.0533, allocations: 7.938 kB / 307.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.05449, allocations: 1.062 MB / 308.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.05477, allocations: 183 kB / 308.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.05487, allocations: 27.98 kB / 308.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.05515, allocations: 35.98 kB / 308.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.05528, allocations: 84.78 kB / 308.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.05531, allocations: 19.98 kB / 308.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003529/0.05566, allocations: 444.6 kB / 308.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05566, allocations: 0 / 308.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009447/0.05661, allocations: 423.9 kB / 309.3 MB, free: 11.91 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.0002488/0.05686, allocations: 160.1 kB / 309.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.05795, allocations: 0.9954 MB / 310.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/0.05797, allocations: 18.38 kB / 310.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006503/0.05862, allocations: 0.7358 MB / 311.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007516/0.05937, allocations: 335 kB / 311.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.06288, allocations: 3.183 MB / 314.7 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.06323, allocations: 463.7 kB / 315.2 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.06362, allocations: 163.2 kB / 315.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.06413, allocations: 341.1 kB / 315.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.06413, allocations: 0 / 315.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of Templates: time 0.02877/0.0929, allocations: 23.45 MB / 339.1 MB, free: 13.91 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.2148254700005054]