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.001235/0.001235, allocations: 80.8 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.001492/0.001492, allocations: 163 kB / 25.69 MB, free: 8.418 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.9013/0.9013, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.633e-06/1.633e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.37e-05, allocations: 6.25 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01181/0.01184, allocations: 9.32 MB / 260.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008291/0.02013, allocations: 3.537 MB / 264.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.02224, allocations: 55.62 kB / 264.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.02462, allocations: 0.664 MB / 265.2 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00379/0.02841, allocations: 0.9159 MB / 266.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.02983, allocations: 467 kB / 266.5 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003935/0.03376, allocations: 2.774 MB / 269.3 MB, free: 5.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.03575, allocations: 1.057 MB / 270.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003636/0.03938, allocations: 1.992 MB / 272.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.04188, allocations: 1.337 MB / 273.7 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007975/0.04268, allocations: 292 kB / 274 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.04391, allocations: 0.5306 MB / 274.5 MB, free: 152 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.04515, allocations: 1.032 MB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001782/0.04693, allocations: 0.9625 MB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.05026, allocations: 2.453 MB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.05027, allocations: 0 / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.05027, allocations: 0 / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000102/0.05037, allocations: 0 / 278.9 MB, free: 11.69 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.003541/0.05391, allocations: 2.921 MB / 281.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.05395, allocations: 15.98 kB / 281.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005932/0.05454, allocations: 396.5 kB / 282.3 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.0558, allocations: 1.096 MB / 283.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.05589, allocations: 152.4 kB / 283.5 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.05609, allocations: 208.3 kB / 283.7 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.05771, allocations: 1.566 MB / 285.3 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.05775, allocations: 11.88 kB / 285.3 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.05786, allocations: 80 kB / 285.4 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/0.05795, allocations: 95.88 kB / 285.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008511/0.0588, allocations: 0.5984 MB / 286.1 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005728/0.06453, allocations: 4.878 MB / 290.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/0.0655, allocations: 0.7071 MB / 291.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/0.06609, allocations: 483.5 kB / 292.1 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.06623, allocations: 48.97 kB / 292.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.06626, allocations: 51.55 kB / 292.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.376e-06/0.06626, allocations: 0 / 292.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.004946/0.07121, allocations: 2.731 MB / 295 MB, free: 11.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.07124, allocations: 64.72 kB / 295 MB, free: 11.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.07239, allocations: 1.402 MB / 296.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.07246, allocations: 45.7 kB / 296.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.07285, allocations: 0.8428 MB / 297.3 MB, free: 8.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.07308, allocations: 475.8 kB / 297.8 MB, free: 8.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.07333, allocations: 231.5 kB / 298 MB, free: 8.141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.07343, allocations: 361.8 kB / 298.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.07368, allocations: 178.8 kB / 298.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.07401, allocations: 413.9 kB / 298.9 MB, free: 7.113 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.07468, allocations: 0.707 MB / 299.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.07468, allocations: 4 kB / 299.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00174/0.07642, allocations: 1.062 MB / 300.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.07644, allocations: 12.61 kB / 300.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.07646, allocations: 4 kB / 300.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.07754, allocations: 0.5223 MB / 301.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.07806, allocations: 243.6 kB / 301.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.08201, allocations: 4.613 MB / 306.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.08258, allocations: 48.02 kB / 306.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.07e-05/0.08266, allocations: 36 kB / 306.2 MB, free: 15.57 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.000458/0.08312, allocations: 188.3 kB / 306.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.08335, allocations: 155.8 kB / 306.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.0849, allocations: 0.9963 MB / 307.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.08492, allocations: 16 kB / 307.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.08492, allocations: 4.125 kB / 307.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.08493, allocations: 19.91 kB / 307.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/0.08798, allocations: 2.255 MB / 309.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.08798, allocations: 4 kB / 309.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/0.08844, allocations: 183.7 kB / 310 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008797/0.08932, allocations: 472.8 kB / 310.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.08938, allocations: 35.98 kB / 310.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/0.09297, allocations: 5.367 MB / 315.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.09297, allocations: 0 / 315.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.09468, allocations: 1.355 MB / 317.2 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.09506, allocations: 238.7 kB / 317.4 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.0952, allocations: 24 kB / 317.5 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.09557, allocations: 47.97 kB / 317.5 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.09574, allocations: 108.7 kB / 317.6 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.0958, allocations: 31.97 kB / 317.6 MB, free: 3.648 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005678/0.09636, allocations: 0.6625 MB / 318.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09636, allocations: 0 / 318.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001147/0.09751, allocations: 0.5077 MB / 318.8 MB, free: 2.484 MB / 298.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.001087/0.0986, allocations: 0.541 MB / 319.4 MB, free: 1.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.1, allocations: 1.163 MB / 320.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.183e-05/0.1001, allocations: 24.5 kB / 320.5 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00089/0.1009, allocations: 0.9005 MB / 321.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009713/0.1019, allocations: 389.7 kB / 321.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.1068, allocations: 4.027 MB / 325.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.1073, allocations: 0.5699 MB / 326.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005474/0.1079, allocations: 209.3 kB / 326.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005942/0.1085, allocations: 381 kB / 327 MB, free: 10.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1085, allocations: 0 / 327 MB, free: 10.15 MB / 314.7 MB Notification: Performance of Templates: time 0.1271/0.2356, allocations: 28.46 MB / 355.5 MB, free: 89.79 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: 3.885427314322442]