Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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.001165/0.001165, allocations: 80.8 kB / 22.28 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.001207/0.001207, allocations: 168.7 kB / 25.69 MB, free: 8.434 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.9321/0.9321, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.505e-05, allocations: 2.312 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.009148/0.009163, allocations: 11.38 MB / 263 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007384/0.01655, allocations: 4.033 MB / 267 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.01762, allocations: 71.5 kB / 267.1 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.01952, allocations: 0.8673 MB / 267.9 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.02226, allocations: 1.067 MB / 269 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.02362, allocations: 0.5303 MB / 269.5 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003543/0.02716, allocations: 3.595 MB / 273.1 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.02906, allocations: 1.502 MB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.03206, allocations: 2.526 MB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.03414, allocations: 1.73 MB / 278.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006153/0.03476, allocations: 396 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.03577, allocations: 0.6205 MB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009013/0.03668, allocations: 1.161 MB / 281.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.03787, allocations: 1.247 MB / 282.3 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.04145, allocations: 2.982 MB / 285.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.04146, allocations: 0 / 285.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.04146, allocations: 0 / 285.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.04149, allocations: 0 / 285.3 MB, free: 5.301 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004989/0.04648, allocations: 3.431 MB / 288.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.04652, allocations: 11.98 kB / 288.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.04787, allocations: 0.5589 MB / 289.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.04953, allocations: 1.191 MB / 290.5 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.04965, allocations: 213.7 kB / 290.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/0.0499, allocations: 272.1 kB / 291 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.05193, allocations: 2.06 MB / 293 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/0.05197, allocations: 3.953 kB / 293 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.05212, allocations: 108 kB / 293.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.415e-05/0.05221, allocations: 125.2 kB / 293.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.05331, allocations: 0.7822 MB / 294 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007549/0.06086, allocations: 7.204 MB / 301.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.06175, allocations: 0.801 MB / 302 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.06233, allocations: 456.4 kB / 302.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.06249, allocations: 65.28 kB / 302.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.06252, allocations: 47.88 kB / 302.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 2.905e-06/0.06252, allocations: 0 / 302.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005287/0.06781, allocations: 2.921 MB / 305.5 MB, free: 480 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.06784, allocations: 64.72 kB / 305.6 MB, free: 400 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009352/0.06878, allocations: 1.291 MB / 306.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.06884, allocations: 49.7 kB / 306.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.06928, allocations: 1.106 MB / 308 MB, free: 13.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.06954, allocations: 0.5267 MB / 308.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.06985, allocations: 315.2 kB / 308.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.06991, allocations: 305.1 kB / 309.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.0702, allocations: 206.7 kB / 309.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.07067, allocations: 0.666 MB / 310 MB, free: 11.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.07184, allocations: 1.083 MB / 311.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.07184, allocations: 8 kB / 311.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001461/0.0733, allocations: 1.18 MB / 312.3 MB, free: 9.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.07332, allocations: 16.36 kB / 312.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.07334, allocations: 23.94 kB / 312.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/0.07398, allocations: 295.9 kB / 312.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.07484, allocations: 415.4 kB / 313 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.07751, allocations: 3.75 MB / 316.8 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.07807, allocations: 63.92 kB / 316.8 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.07816, allocations: 64.16 kB / 316.9 MB, free: 4.391 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003978/0.07856, allocations: 232 kB / 317.1 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.0788, allocations: 167.8 kB / 317.3 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.08035, allocations: 0.9859 MB / 318.3 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.08037, allocations: 16 kB / 318.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.08038, allocations: 4 kB / 318.3 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.08039, allocations: 7.969 kB / 318.3 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.08365, allocations: 2.868 MB / 321.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.08366, allocations: 7.938 kB / 321.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.08439, allocations: 329.3 kB / 321.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006895/0.08508, allocations: 330.7 kB / 321.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.745e-05/0.08515, allocations: 39.97 kB / 321.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.08846, allocations: 4.938 MB / 326.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.08847, allocations: 4 kB / 326.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.09015, allocations: 1.448 MB / 328.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.09056, allocations: 246.6 kB / 328.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.09071, allocations: 39.98 kB / 328.5 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.09116, allocations: 51.97 kB / 328.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.09135, allocations: 125 kB / 328.7 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.09141, allocations: 31.98 kB / 328.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005768/0.09198, allocations: 0.6618 MB / 329.4 MB, free: 7.363 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.09198, allocations: 0 / 329.4 MB, free: 7.363 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001312/0.0933, allocations: 0.5741 MB / 330 MB, free: 6.789 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,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.0003407/0.09364, allocations: 208 kB / 330.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.09507, allocations: 1.219 MB / 331.4 MB, free: 5.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-05/0.0951, allocations: 25.81 kB / 331.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.09628, allocations: 0.9009 MB / 332.3 MB, free: 4.363 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.0973, allocations: 441.6 kB / 332.7 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005053/0.1024, allocations: 4.575 MB / 337.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.1029, allocations: 0.6227 MB / 337.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006138/0.1035, allocations: 251.6 kB / 338.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/0.1042, allocations: 455.1 kB / 338.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1042, allocations: 0 / 338.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of Templates: time 0.1431/0.2473, allocations: 30.39 MB / 369 MB, free: 88.05 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_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.8861570190638304]