Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001541/0.001541, allocations: 111 kB / 21.93 MB, free: 5.219 MB / 14.72 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.00162/0.00162, allocations: 214 kB / 25.22 MB, free: 3.031 MB / 14.72 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.425/1.425, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 55.92 kB / 348.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2621, allocations: 49.15 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.012/0.2741, allocations: 8.542 MB / 406.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007346/0.2815, allocations: 2.903 MB / 409.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.2831, allocations: 53.94 kB / 409.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.2849, allocations: 0.6152 MB / 409.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.2876, allocations: 0.7914 MB / 410.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2886, allocations: 382 kB / 410.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003294/0.2919, allocations: 2.466 MB / 413.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.2934, allocations: 0.9827 MB / 414.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.2955, allocations: 1.101 MB / 415.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.2978, allocations: 1.246 MB / 416.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.2982, allocations: 283.8 kB / 417 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.2991, allocations: 359.6 kB / 417.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008716/0.3, allocations: 0.7858 MB / 418.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.3013, allocations: 1.032 MB / 419.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004189/0.3055, allocations: 3.676 MB / 422.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3055, allocations: 0 / 422.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3055, allocations: 0 / 422.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.216e-05/0.3056, allocations: 1.469 kB / 422.8 MB, free: 9.195 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005846/0.3114, allocations: 2.561 MB / 425.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3115, allocations: 19.97 kB / 425.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007855/0.3123, allocations: 271.4 kB / 425.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.3148, allocations: 1.208 MB / 426.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.3149, allocations: 140.2 kB / 427 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.3152, allocations: 204.1 kB / 427.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004235/0.3195, allocations: 2.515 MB / 429.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/0.3195, allocations: 3.984 kB / 429.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.3197, allocations: 83.98 kB / 429.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.3198, allocations: 87.69 kB / 429.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003505/0.3233, allocations: 1.955 MB / 431.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.3361, allocations: 6.778 MB / 438.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.3378, allocations: 1.007 MB / 439.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.3398, allocations: 0.9085 MB / 440.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.34, allocations: 40.97 kB / 440.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.521e-05/0.3401, allocations: 51.56 kB / 440.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 4.578e-06/0.3401, allocations: 0 / 440.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01384/0.3539, allocations: 5.497 MB / 446.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.354, allocations: 64.41 kB / 446.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.3559, allocations: 1.17 MB / 447.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.3561, allocations: 49.7 kB / 447.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008314/0.3569, allocations: 0.9413 MB / 448.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/0.3573, allocations: 416.5 kB / 448.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/0.3577, allocations: 247.5 kB / 449 MB, free: 15.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.358, allocations: 365.7 kB / 449.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.359, allocations: 0.6402 MB / 450 MB, free: 14.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.3604, allocations: 1 MB / 451 MB, free: 13.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.363, allocations: 1.731 MB / 452.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.3631, allocations: 4 kB / 452.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004294/0.3673, allocations: 2.234 MB / 455 MB, free: 8.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.3674, allocations: 8 kB / 455 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.3674, allocations: 12 kB / 455 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.3687, allocations: 491.9 kB / 455.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.3699, allocations: 299.5 kB / 455.8 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008771/0.3787, allocations: 6.699 MB / 462.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.3805, allocations: 75.92 kB / 462.5 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.3806, allocations: 64.05 kB / 462.6 MB, free: 0.9648 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001504/0.3821, allocations: 0.5988 MB / 463.2 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/0.3826, allocations: 147 kB / 463.3 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/0.3865, allocations: 1.948 MB / 465.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.3865, allocations: 8 kB / 465.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.3865, allocations: 11.94 kB / 465.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.3865, allocations: 7.984 kB / 465.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.397, allocations: 3.618 MB / 468.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.397, allocations: 4 kB / 468.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.3983, allocations: 192 kB / 469.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/0.4008, allocations: 0.543 MB / 469.7 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.4009, allocations: 31.97 kB / 469.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/0.4155, allocations: 8.194 MB / 477.9 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/0.4155, allocations: 8.031 kB / 477.9 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008128/0.4236, allocations: 2.836 MB / 480.7 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.4252, allocations: 266.9 kB / 481 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000572/0.4257, allocations: 31.98 kB / 481 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/0.4272, allocations: 68.11 kB / 481.1 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/0.4276, allocations: 92.77 kB / 481.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.4278, allocations: 35.92 kB / 481.2 MB, free: 13.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002615/0.4304, allocations: 0.779 MB / 482 MB, free: 12.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4304, allocations: 3.938 kB / 482 MB, free: 12.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003363/0.4338, allocations: 436 kB / 482.4 MB, free: 12.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006769/0.4344, allocations: 186.9 kB / 482.6 MB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005841/0.4403, allocations: 2.002 MB / 484.6 MB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.4403, allocations: 5.875 kB / 484.6 MB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003836/0.4441, allocations: 1.383 MB / 486 MB, free: 8.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/0.4475, allocations: 360.4 kB / 486.3 MB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.4597, allocations: 4.214 MB / 490.6 MB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.4622, allocations: 1.053 MB / 491.6 MB, free: 3.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/0.4629, allocations: 99.42 kB / 491.7 MB, free: 3.012 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4629, allocations: 0 / 491.7 MB, free: 3.012 MB / 398.1 MB Notification: Performance of Templates: time 0.1047/0.5676, allocations: 70.67 MB / 0.5492 GB, free: 12.17 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.377094449941069]