Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.0009309/0.0009309, allocations: 80.92 kB / 22.28 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.0009022/0.0009022, allocations: 167.8 kB / 25.7 MB, free: 8.395 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.8427/0.8427, allocations: 158.6 MB / 187.6 MB, free: 2.797 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 4 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/2.008e-05, allocations: 6.25 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008836/0.008856, allocations: 9.09 MB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005849/0.0147, allocations: 3.069 MB / 263.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.01584, allocations: 51.62 kB / 263.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.0172, allocations: 0.6326 MB / 264.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.01945, allocations: 0.8577 MB / 265.2 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007928/0.02024, allocations: 351.4 kB / 265.6 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.02298, allocations: 2.801 MB / 268.4 MB, free: 6.324 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.0242, allocations: 1.104 MB / 269.5 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.02652, allocations: 1.926 MB / 271.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.0279, allocations: 1.356 MB / 272.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.02822, allocations: 300 kB / 273.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004888/0.02871, allocations: 383.8 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005429/0.02925, allocations: 0.8959 MB / 274.3 MB, free: 292 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.0303, allocations: 0.9587 MB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.03233, allocations: 2.255 MB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.03234, allocations: 0 / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03234, allocations: 0 / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.085e-05/0.03238, allocations: 0 / 277.5 MB, free: 13.06 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.002851/0.03523, allocations: 2.625 MB / 280.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.03527, allocations: 11.98 kB / 280.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005982/0.03586, allocations: 376.5 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.037, allocations: 0.9334 MB / 281.5 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.76e-05/0.03708, allocations: 156.4 kB / 281.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.03728, allocations: 200.4 kB / 281.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.03893, allocations: 1.589 MB / 283.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.03897, allocations: 11.89 kB / 283.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.03908, allocations: 76 kB / 283.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-05/0.03915, allocations: 95.88 kB / 283.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008886/0.04004, allocations: 0.606 MB / 284.2 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005912/0.04595, allocations: 5.39 MB / 289.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.04666, allocations: 0.6569 MB / 290.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.0473, allocations: 483.4 kB / 290.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.04744, allocations: 44.92 kB / 290.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.04747, allocations: 51.5 kB / 290.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.306e-06/0.04747, allocations: 0 / 290.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.004533/0.052, allocations: 2.527 MB / 293.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.05204, allocations: 64.41 kB / 293.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.05277, allocations: 0.9753 MB / 294.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.05283, allocations: 49.7 kB / 294.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.05322, allocations: 0.8349 MB / 295.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.05346, allocations: 432.2 kB / 295.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.05371, allocations: 231.4 kB / 295.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.05382, allocations: 361.8 kB / 296.3 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.05406, allocations: 166.8 kB / 296.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.05441, allocations: 489 kB / 296.9 MB, free: 9.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.05509, allocations: 0.7829 MB / 297.7 MB, free: 8.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.0551, allocations: 8 kB / 297.7 MB, free: 8.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0012/0.0563, allocations: 0.9133 MB / 298.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.05632, allocations: 11.98 kB / 298.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.05633, allocations: 15.94 kB / 298.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.0568, allocations: 212 kB / 298.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.0574, allocations: 291.5 kB / 299.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.05946, allocations: 3.151 MB / 302.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/0.05999, allocations: 51.94 kB / 302.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.06006, allocations: 40 kB / 302.4 MB, free: 3.188 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000437/0.06049, allocations: 196.3 kB / 302.6 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.06069, allocations: 135.9 kB / 302.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.06175, allocations: 0.8263 MB / 303.5 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-06/0.06176, allocations: 12 kB / 303.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.06177, allocations: 4 kB / 303.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.06178, allocations: 3.984 kB / 303.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.06446, allocations: 2.076 MB / 305.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.06446, allocations: 4.281 kB / 305.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.06492, allocations: 187.8 kB / 305.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006124/0.06554, allocations: 310.9 kB / 306.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.0656, allocations: 35.97 kB / 306.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.06804, allocations: 4.362 MB / 310.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.06804, allocations: 8.031 kB / 310.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.06948, allocations: 1.198 MB / 311.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/0.06987, allocations: 199.1 kB / 311.9 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.06998, allocations: 31.98 kB / 311.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.07033, allocations: 43.97 kB / 312 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.07049, allocations: 100.7 kB / 312.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.07053, allocations: 31.92 kB / 312.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004263/0.07096, allocations: 493 kB / 312.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.07096, allocations: 0 / 312.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001033/0.07199, allocations: 455.9 kB / 313 MB, free: 8.012 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0002766/0.07227, allocations: 168 kB / 313.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.07344, allocations: 0.9779 MB / 314.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-05/0.07346, allocations: 16.5 kB / 314.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007227/0.07418, allocations: 0.7838 MB / 315 MB, free: 5.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008903/0.07507, allocations: 398.8 kB / 315.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.07933, allocations: 3.566 MB / 318.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.07973, allocations: 0.4969 MB / 319.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004882/0.08022, allocations: 184.7 kB / 319.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/0.08084, allocations: 401.1 kB / 320 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of SimCode: time 1.313e-06/0.08084, allocations: 0 / 320 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of Templates: time 0.03154/0.1124, allocations: 25.24 MB / 345.2 MB, free: 7.598 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.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.338588980026543]