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.0009017/0.0009017, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009981/0.0009981, allocations: 167.9 kB / 25.7 MB, free: 8.445 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.8864/0.8864, allocations: 158.6 MB / 187.6 MB, free: 2.789 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 1.113e-06/1.113e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.158e-05, allocations: 6.312 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.007656/0.007667, allocations: 9.145 MB / 260.7 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004229/0.0119, allocations: 3.065 MB / 263.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.01236, allocations: 51.69 kB / 263.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000994/0.01335, allocations: 0.6442 MB / 264.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.0149, allocations: 0.8421 MB / 265.3 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.01536, allocations: 359.3 kB / 265.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.01725, allocations: 2.789 MB / 268.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009863/0.01824, allocations: 1.112 MB / 269.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.02008, allocations: 1.918 MB / 271.5 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.02181, allocations: 1.364 MB / 272.9 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.02204, allocations: 300 kB / 273.2 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/0.02249, allocations: 383.9 kB / 273.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004896/0.02298, allocations: 0.9036 MB / 274.4 MB, free: 196 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.02363, allocations: 0.9589 MB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.02518, allocations: 2.247 MB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.02518, allocations: 0 / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02518, allocations: 0 / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.0252, allocations: 0 / 277.6 MB, free: 12.97 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.002676/0.02787, allocations: 2.629 MB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.02791, allocations: 11.98 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/0.02844, allocations: 372.5 kB / 280.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.02988, allocations: 0.9411 MB / 281.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.03, allocations: 152.4 kB / 281.7 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.03024, allocations: 204.4 kB / 281.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.03244, allocations: 1.573 MB / 283.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-05/0.0325, allocations: 23.8 kB / 283.5 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.03268, allocations: 83.98 kB / 283.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.03278, allocations: 91.94 kB / 283.7 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.03415, allocations: 0.5982 MB / 284.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00776/0.04191, allocations: 5.397 MB / 289.7 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.04286, allocations: 0.653 MB / 290.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.04353, allocations: 479.5 kB / 290.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.04365, allocations: 44.92 kB / 290.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.04368, allocations: 47.5 kB / 290.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.256e-06/0.04368, allocations: 7.922 kB / 290.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.004135/0.04782, allocations: 2.53 MB / 293.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.04785, allocations: 64.41 kB / 293.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.0485, allocations: 0.9753 MB / 294.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.04855, allocations: 49.7 kB / 294.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.04887, allocations: 0.831 MB / 295.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.04909, allocations: 432.2 kB / 295.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.04932, allocations: 239.4 kB / 296 MB, free: 10.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.04941, allocations: 361.8 kB / 296.4 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.04963, allocations: 166.8 kB / 296.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.04998, allocations: 473.1 kB / 297 MB, free: 8.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.05065, allocations: 0.7868 MB / 297.8 MB, free: 8.008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.05065, allocations: 4 kB / 297.8 MB, free: 8.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001089/0.05174, allocations: 0.921 MB / 298.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.05176, allocations: 12 kB / 298.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.05177, allocations: 11.94 kB / 298.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/0.05221, allocations: 219.9 kB / 298.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.0529, allocations: 323.5 kB / 299.3 MB, free: 6.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.05492, allocations: 3.152 MB / 302.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.05527, allocations: 47.94 kB / 302.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.05533, allocations: 44.03 kB / 302.5 MB, free: 3.062 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.0002833/0.05561, allocations: 196.2 kB / 302.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.05578, allocations: 135.8 kB / 302.8 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.05681, allocations: 0.8263 MB / 303.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.05682, allocations: 15.94 kB / 303.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.05682, allocations: 4 kB / 303.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.05683, allocations: 3.984 kB / 303.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.05924, allocations: 2.08 MB / 305.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.05924, allocations: 0 / 305.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.05983, allocations: 268 kB / 306 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/0.06035, allocations: 261.5 kB / 306.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.06041, allocations: 39.92 kB / 306.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.06288, allocations: 4.364 MB / 310.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.06288, allocations: 0 / 310.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.06418, allocations: 1.206 MB / 311.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.06446, allocations: 198.9 kB / 312.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.06456, allocations: 28 kB / 312.1 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.06489, allocations: 47.97 kB / 312.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.06503, allocations: 104.7 kB / 312.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.06508, allocations: 28 kB / 312.3 MB, free: 8.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003665/0.06544, allocations: 493 kB / 312.8 MB, free: 8.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06544, allocations: 0 / 312.8 MB, free: 8.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007473/0.06619, allocations: 455.9 kB / 313.2 MB, free: 7.848 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.0002272/0.06642, allocations: 160.2 kB / 313.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.06747, allocations: 0.9832 MB / 314.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/0.06749, allocations: 12.5 kB / 314.4 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.06816, allocations: 0.7865 MB / 315.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.069, allocations: 386.3 kB / 315.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.07271, allocations: 3.576 MB / 319.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.07311, allocations: 0.493 MB / 319.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004429/0.07355, allocations: 196.6 kB / 319.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006467/0.0742, allocations: 389.1 kB / 320.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of SimCode: time 9.41e-07/0.0742, allocations: 0 / 320.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of Templates: time 0.02919/0.1034, allocations: 25.3 MB / 345.5 MB, free: 7.375 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 -s gbode -gbm=radauIIA3 -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.225600235629827]