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.001318/0.001318, allocations: 80.8 kB / 22.28 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.001463/0.001463, allocations: 163 kB / 25.69 MB, free: 8.457 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.8614/0.8614, allocations: 158.6 MB / 187.6 MB, free: 2.746 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.252e-06/1.252e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.691e-05, allocations: 6.25 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.02001/0.02004, allocations: 11.33 MB / 262.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006891/0.02693, allocations: 4.041 MB / 266.9 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.0286, allocations: 71.5 kB / 267 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.03068, allocations: 0.8557 MB / 267.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.03334, allocations: 1.067 MB / 268.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.03435, allocations: 0.5459 MB / 269.4 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003259/0.0376, allocations: 3.579 MB / 273 MB, free: 1.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.03941, allocations: 1.506 MB / 274.5 MB, free: 68 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.04301, allocations: 2.538 MB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.04529, allocations: 1.722 MB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006275/0.04591, allocations: 396 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.04698, allocations: 0.6127 MB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007541/0.04774, allocations: 1.153 MB / 280.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.04939, allocations: 1.255 MB / 282.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.05259, allocations: 2.978 MB / 285.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.0526, allocations: 0 / 285.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.0526, allocations: 0 / 285.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.906e-05/0.05269, allocations: 0 / 285.2 MB, free: 5.391 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.004231/0.05692, allocations: 3.427 MB / 288.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.05695, allocations: 15.98 kB / 288.6 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.05806, allocations: 0.5511 MB / 289.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.05975, allocations: 1.202 MB / 290.4 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.05988, allocations: 209.8 kB / 290.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/0.06014, allocations: 272 kB / 290.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.06244, allocations: 2.053 MB / 292.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/0.06248, allocations: 7.953 kB / 292.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.06264, allocations: 112 kB / 293 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.745e-05/0.06274, allocations: 129.2 kB / 293.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.06395, allocations: 0.7823 MB / 293.9 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008665/0.07261, allocations: 7.2 MB / 301.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.07353, allocations: 0.8044 MB / 301.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.07411, allocations: 460.4 kB / 302.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.07428, allocations: 65.28 kB / 302.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.07431, allocations: 47.88 kB / 302.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 3.557e-06/0.07431, allocations: 0 / 302.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005653/0.07997, allocations: 2.918 MB / 305.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.08, allocations: 68.72 kB / 305.5 MB, free: 488 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.08105, allocations: 1.28 MB / 306.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.369e-05/0.08113, allocations: 53.7 kB / 306.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.0816, allocations: 1.106 MB / 307.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.08186, allocations: 0.5267 MB / 308.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.08218, allocations: 311.3 kB / 308.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.08225, allocations: 309.1 kB / 309 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.08254, allocations: 202.7 kB / 309.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.08317, allocations: 0.6698 MB / 309.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009112/0.08408, allocations: 1.083 MB / 311 MB, free: 10.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.08409, allocations: 4 kB / 311 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001679/0.08577, allocations: 1.195 MB / 312.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.08579, allocations: 12 kB / 312.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.08582, allocations: 19.98 kB / 312.2 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007235/0.08654, allocations: 288 kB / 312.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/0.08733, allocations: 383.4 kB / 312.9 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/0.09011, allocations: 3.739 MB / 316.6 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000881/0.09099, allocations: 71.86 kB / 316.7 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/0.09108, allocations: 60 kB / 316.7 MB, free: 4.523 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.0007557/0.09184, allocations: 228.1 kB / 317 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.09212, allocations: 167.8 kB / 317.1 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.09339, allocations: 0.986 MB / 318.1 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.09341, allocations: 16 kB / 318.1 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.09342, allocations: 4 kB / 318.1 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.09343, allocations: 7.969 kB / 318.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.09703, allocations: 2.868 MB / 321 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.09703, allocations: 7.984 kB / 321 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005687/0.0976, allocations: 244.1 kB / 321.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/0.09843, allocations: 383.8 kB / 321.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.0985, allocations: 35.98 kB / 321.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/0.1017, allocations: 4.927 MB / 326.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1017, allocations: 8 kB / 326.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.1035, allocations: 1.44 MB / 328 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.104, allocations: 250.6 kB / 328.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.1041, allocations: 40 kB / 328.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.1046, allocations: 51.97 kB / 328.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.1048, allocations: 129 kB / 328.5 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.1049, allocations: 28 kB / 328.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006219/0.1055, allocations: 0.6618 MB / 329.2 MB, free: 7.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1055, allocations: 0 / 329.2 MB, free: 7.543 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001397/0.1069, allocations: 0.5741 MB / 329.8 MB, free: 6.969 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.0003299/0.1072, allocations: 204 kB / 330 MB, free: 6.758 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.1088, allocations: 1.22 MB / 331.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.968e-05/0.1088, allocations: 29.94 kB / 331.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.1097, allocations: 0.9036 MB / 332.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.1107, allocations: 448.2 kB / 332.6 MB, free: 4.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.116, allocations: 4.574 MB / 337.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.1165, allocations: 0.6305 MB / 337.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006425/0.1172, allocations: 239.7 kB / 338 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009431/0.1181, allocations: 459.1 kB / 338.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.833e-06/0.1181, allocations: 0 / 338.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of Templates: time 0.1367/0.2548, allocations: 30.29 MB / 368.7 MB, free: 88.39 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 -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.7138465279713273]