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.001174/0.001174, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002783, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008341/0.0008341, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001908, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9256/0.9256, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1547/1.08, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.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 2.605e-06/2.605e-06, allocations: 4 kB / 221.9 MB, free: 132 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.72e-05, allocations: 6.109 kB / 221.9 MB, free: 128 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.009833/0.00986, allocations: 9.415 MB / 231.3 MB, free: 6.66 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006205/0.01607, allocations: 3.564 MB / 234.9 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.01747, allocations: 51.62 kB / 234.9 MB, free: 3.027 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.0191, allocations: 0.6714 MB / 235.6 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.02147, allocations: 0.9081 MB / 236.5 MB, free: 1.438 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.02264, allocations: 455.1 kB / 236.9 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.02525, allocations: 2.789 MB / 239.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.02649, allocations: 1.061 MB / 240.8 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.02941, allocations: 2.172 MB / 243 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.03146, allocations: 1.337 MB / 244.3 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00064/0.0321, allocations: 296 kB / 244.6 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.03317, allocations: 0.5229 MB / 245.1 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007797/0.03395, allocations: 0.8845 MB / 246 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.03535, allocations: 0.7991 MB / 246.8 MB, free: 7.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002823/0.03817, allocations: 2.289 MB / 249.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.03818, allocations: 0 / 249.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.03819, allocations: 0 / 249.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001193/0.03831, allocations: 0 / 249.1 MB, free: 4.738 MB / 250.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.004842/0.04315, allocations: 3.472 MB / 252.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.04318, allocations: 12.03 kB / 252.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/0.04389, allocations: 465.7 kB / 253 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.04532, allocations: 1.112 MB / 254.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/0.0454, allocations: 152.4 kB / 254.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.04561, allocations: 211.7 kB / 254.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.04731, allocations: 1.562 MB / 256 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.04735, allocations: 7.953 kB / 256.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.04746, allocations: 91.98 kB / 256.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-05/0.04754, allocations: 95.92 kB / 256.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008529/0.04839, allocations: 0.5984 MB / 256.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006332/0.05472, allocations: 4.89 MB / 261.7 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.05576, allocations: 0.7186 MB / 262.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006219/0.05638, allocations: 487.3 kB / 262.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.05653, allocations: 52.95 kB / 263 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.05656, allocations: 47.56 kB / 263 MB, free: 6.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.507e-06/0.05656, allocations: 4 kB / 263 MB, free: 6.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005157/0.06172, allocations: 2.727 MB / 265.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.06176, allocations: 64.72 kB / 265.8 MB, free: 3.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.06285, allocations: 1.39 MB / 267.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.06291, allocations: 45.7 kB / 267.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.06328, allocations: 0.8584 MB / 268.1 MB, free: 1.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.06353, allocations: 479.7 kB / 268.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.06379, allocations: 227.5 kB / 268.8 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.06389, allocations: 361.8 kB / 269.1 MB, free: 140 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.06413, allocations: 170.8 kB / 269.3 MB, free: 15.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.06446, allocations: 414 kB / 269.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/0.06511, allocations: 0.7147 MB / 270.4 MB, free: 14.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.06512, allocations: 0 / 270.4 MB, free: 14.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001424/0.06654, allocations: 1.062 MB / 271.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.06656, allocations: 8 kB / 271.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.06658, allocations: 8 kB / 271.5 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.06768, allocations: 0.5224 MB / 272 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.06834, allocations: 283.6 kB / 272.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004501/0.07284, allocations: 4.637 MB / 276.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008048/0.07364, allocations: 43.98 kB / 277 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/0.07373, allocations: 44.05 kB / 277 MB, free: 7.863 MB / 282.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.0005631/0.07429, allocations: 184.5 kB / 277.2 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.07454, allocations: 163.7 kB / 277.4 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.0758, allocations: 0.9847 MB / 278.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.07582, allocations: 16 kB / 278.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.07583, allocations: 4 kB / 278.4 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.07584, allocations: 7.969 kB / 278.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.07923, allocations: 2.259 MB / 280.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.07924, allocations: 7.984 kB / 280.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.07979, allocations: 215.7 kB / 280.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.08016, allocations: 238.6 kB / 281.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000898/0.08106, allocations: 483.4 kB / 281.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/0.08111, allocations: 51.91 kB / 281.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1181/0.1992, allocations: 5.37 MB / 287 MB, free: 43.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.1993, allocations: 5.875 kB / 287 MB, free: 43.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.2017, allocations: 1.346 MB / 288.3 MB, free: 43.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.2019, allocations: 26.28 kB / 288.4 MB, free: 43.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.2024, allocations: 48.45 kB / 288.4 MB, free: 43.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.2026, allocations: 107.2 kB / 288.5 MB, free: 43.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.021e-05/0.2027, allocations: 28.66 kB / 288.5 MB, free: 43.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000904/0.2036, allocations: 0.6675 MB / 289.2 MB, free: 43.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2036, allocations: 0 / 289.2 MB, free: 43.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00145/0.205, allocations: 0.5056 MB / 289.7 MB, free: 43.33 MB / 282.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.001314/0.2064, allocations: 0.57 MB / 290.3 MB, free: 43.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.2082, allocations: 1.166 MB / 291.5 MB, free: 42.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.06e-05/0.2082, allocations: 30.83 kB / 291.5 MB, free: 42.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.2093, allocations: 0.9183 MB / 292.4 MB, free: 42.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.2104, allocations: 0.5118 MB / 292.9 MB, free: 42.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.2259, allocations: 4.154 MB / 297.1 MB, free: 40.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.2266, allocations: 0.5782 MB / 297.6 MB, free: 40.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008876/0.2275, allocations: 201.1 kB / 297.8 MB, free: 40.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/0.2281, allocations: 380.8 kB / 298.2 MB, free: 40.34 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2281, allocations: 0 / 298.2 MB, free: 40.34 MB / 282.7 MB Notification: Performance of Templates: time 0.03503/0.2632, allocations: 29.47 MB / 327.7 MB, free: 17.17 MB / 282.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 -ignoreHideResult -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.9471773942932487]