Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.001564/0.001564, allocations: 85.95 kB / 23 MB, free: 1.5 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.001292/0.001292, allocations: 171.7 kB / 26.39 MB, free: 7.984 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.018/1.018, allocations: 158.6 MB / 188.3 MB, free: 2.805 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.413e-05, allocations: 2.312 kB / 252.3 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01042/0.01045, allocations: 9.309 MB / 261.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006618/0.01706, allocations: 3.409 MB / 265 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.01855, allocations: 55.62 kB / 265.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.02029, allocations: 0.6678 MB / 265.7 MB, free: 9.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.02265, allocations: 0.912 MB / 266.6 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.02377, allocations: 463 kB / 267.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003213/0.02698, allocations: 2.77 MB / 269.9 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.02863, allocations: 1.037 MB / 270.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.03145, allocations: 1.996 MB / 272.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.03308, allocations: 1.352 MB / 274.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004442/0.03353, allocations: 296 kB / 274.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.03455, allocations: 0.5267 MB / 275.1 MB, free: 304 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007384/0.03529, allocations: 1.032 MB / 276.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.03629, allocations: 0.9742 MB / 277.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.0393, allocations: 2.441 MB / 279.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.03931, allocations: 0 / 279.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.03931, allocations: 0 / 279.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.877e-05/0.03936, allocations: 4 kB / 279.5 MB, free: 11.83 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.003755/0.04311, allocations: 3.211 MB / 282.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.04315, allocations: 11.98 kB / 282.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007883/0.04394, allocations: 0.4911 MB / 283.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.0455, allocations: 1.368 MB / 284.6 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.04589, allocations: 152.4 kB / 284.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.04611, allocations: 204.3 kB / 285 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.04792, allocations: 1.543 MB / 286.5 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.04796, allocations: 7.938 kB / 286.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.04809, allocations: 80 kB / 286.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.093e-05/0.04817, allocations: 99.86 kB / 286.7 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009081/0.04907, allocations: 0.6044 MB / 287.3 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007488/0.05656, allocations: 6.082 MB / 293.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.05765, allocations: 0.7117 MB / 294.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.05831, allocations: 0.506 MB / 294.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.05845, allocations: 48.97 kB / 294.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.05849, allocations: 46.39 kB / 294.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.787e-06/0.05849, allocations: 0 / 294.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.004967/0.06346, allocations: 2.855 MB / 297.5 MB, free: 9.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.0635, allocations: 76.64 kB / 297.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.06499, allocations: 1.519 MB / 299.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.06506, allocations: 45.7 kB / 299.2 MB, free: 7.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/0.06572, allocations: 1.277 MB / 300.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.066, allocations: 483.9 kB / 300.9 MB, free: 5.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.06628, allocations: 253.1 kB / 301.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.06646, allocations: 0.5432 MB / 301.7 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.06673, allocations: 183.8 kB / 301.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.06715, allocations: 0.5311 MB / 302.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007892/0.06794, allocations: 0.813 MB / 303.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.06795, allocations: 4 kB / 303.2 MB, free: 3.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001912/0.06986, allocations: 1.323 MB / 304.6 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.06988, allocations: 8 kB / 304.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.0699, allocations: 4 kB / 304.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.07113, allocations: 0.541 MB / 305.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.07173, allocations: 239.6 kB / 305.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005769/0.0775, allocations: 5.996 MB / 311.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/0.07841, allocations: 39.98 kB / 311.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.0785, allocations: 43.98 kB / 311.4 MB, free: 10.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007322/0.07923, allocations: 236.3 kB / 311.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.07958, allocations: 242.7 kB / 311.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.08117, allocations: 1.167 MB / 313.1 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.08119, allocations: 16 kB / 313.1 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.08119, allocations: 4 kB / 313.1 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.08121, allocations: 11.91 kB / 313.1 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/0.08511, allocations: 2.607 MB / 315.7 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.08512, allocations: 4 kB / 315.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.08561, allocations: 183.8 kB / 315.9 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008775/0.08649, allocations: 414 kB / 316.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.08655, allocations: 39.97 kB / 316.3 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00452/0.09107, allocations: 7.196 MB / 323.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.09107, allocations: 0 / 323.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.09329, allocations: 1.597 MB / 325.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.09376, allocations: 298.5 kB / 325.4 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.0939, allocations: 28 kB / 325.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.09431, allocations: 51.95 kB / 325.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.09449, allocations: 100.8 kB / 325.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.09455, allocations: 31.98 kB / 325.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007466/0.0953, allocations: 0.844 MB / 326.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0953, allocations: 0 / 326.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001435/0.09673, allocations: 0.5077 MB / 327 MB, free: 10.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008954/0.09763, allocations: 445.7 kB / 327.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.0997, allocations: 1.363 MB / 328.8 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.09971, allocations: 0 / 328.8 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.1008, allocations: 1.13 MB / 329.9 MB, free: 7.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.1021, allocations: 389.5 kB / 330.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.1078, allocations: 4.168 MB / 334.4 MB, free: 3.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.1089, allocations: 0.6402 MB / 335.1 MB, free: 2.531 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009264/0.1098, allocations: 205.4 kB / 335.3 MB, free: 2.324 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007394/0.1106, allocations: 437.9 kB / 335.7 MB, free: 1.895 MB / 314.7 MB Notification: Performance of SimCode: time 2.024e-06/0.1106, allocations: 0 / 335.7 MB, free: 1.895 MB / 314.7 MB Notification: Performance of Templates: time 0.1543/0.2649, allocations: 29.12 MB / 364.8 MB, free: 90.39 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_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_withLosses/AIMC_withLosses.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: 4.453703046776354]