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.0009153/0.0009153, allocations: 84.98 kB / 23 MB, free: 1.504 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.0009923/0.0009923, allocations: 173.2 kB / 26.39 MB, free: 8.141 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.9839/0.9839, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.663e-06/1.663e-06, allocations: 0 / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.707e-05, allocations: 6.25 kB / 252.3 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.009458/0.009475, allocations: 11.3 MB / 263.6 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006586/0.01606, allocations: 3.902 MB / 267.5 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.01722, allocations: 71.5 kB / 267.6 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.01868, allocations: 0.8466 MB / 268.4 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.02056, allocations: 1.063 MB / 269.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008977/0.02146, allocations: 0.5459 MB / 270 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002895/0.02436, allocations: 3.579 MB / 273.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.02574, allocations: 1.47 MB / 275.1 MB, free: 288 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.02821, allocations: 2.546 MB / 277.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.02968, allocations: 1.738 MB / 279.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003673/0.03005, allocations: 396 kB / 279.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000733/0.03078, allocations: 0.6244 MB / 280.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000698/0.03148, allocations: 1.145 MB / 281.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.03251, allocations: 1.255 MB / 282.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.03503, allocations: 2.986 MB / 285.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.03503, allocations: 0 / 285.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.03503, allocations: 0 / 285.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.241e-05/0.03507, allocations: 0 / 285.7 MB, free: 5.574 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.003687/0.03875, allocations: 3.726 MB / 289.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.03878, allocations: 15.98 kB / 289.5 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009208/0.0397, allocations: 0.6626 MB / 290.1 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.04158, allocations: 1.572 MB / 291.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.04169, allocations: 209.7 kB / 291.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.04194, allocations: 272.1 kB / 292.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.044, allocations: 2.029 MB / 294.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/0.04405, allocations: 11.89 kB / 294.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.04421, allocations: 108 kB / 294.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.059e-05/0.0443, allocations: 121.2 kB / 294.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.04548, allocations: 0.7825 MB / 295.2 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008821/0.0543, allocations: 8.944 MB / 304.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009523/0.05525, allocations: 0.8036 MB / 305 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000904/0.05615, allocations: 0.4914 MB / 305.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.0563, allocations: 57.28 kB / 305.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.05633, allocations: 46.7 kB / 305.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 2.615e-06/0.05633, allocations: 3.938 kB / 305.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.004679/0.06101, allocations: 2.96 MB / 308.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.06104, allocations: 68.72 kB / 308.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.06229, allocations: 1.53 MB / 310.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.06236, allocations: 49.7 kB / 310.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007233/0.06308, allocations: 1.459 MB / 311.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.06338, allocations: 0.5384 MB / 312.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003625/0.06375, allocations: 340.9 kB / 312.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004295/0.06418, allocations: 480.8 kB / 313 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.06448, allocations: 203.8 kB / 313.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.06508, allocations: 0.9122 MB / 314.1 MB, free: 8.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.06612, allocations: 1.293 MB / 315.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.06613, allocations: 4 kB / 315.4 MB, free: 6.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00181/0.06794, allocations: 1.472 MB / 316.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.06796, allocations: 12 kB / 316.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.06798, allocations: 16 kB / 316.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/0.06865, allocations: 298.9 kB / 317.2 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.06945, allocations: 387.3 kB / 317.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/0.07291, allocations: 4.944 MB / 322.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.07353, allocations: 67.94 kB / 322.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.07362, allocations: 63.98 kB / 322.6 MB, free: 15.14 MB / 314.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.0004891/0.07411, allocations: 275.9 kB / 322.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.0744, allocations: 258.7 kB / 323.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.07633, allocations: 1.145 MB / 324.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/0.07637, allocations: 19.94 kB / 324.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.07638, allocations: 11.94 kB / 324.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.0764, allocations: 7.969 kB / 324.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/0.08217, allocations: 3.464 MB / 327.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.08217, allocations: 4 kB / 327.8 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/0.0828, allocations: 248.1 kB / 328 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008495/0.08365, allocations: 334.5 kB / 328.4 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.08375, allocations: 43.97 kB / 328.4 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.08782, allocations: 6.646 MB / 335.1 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.08782, allocations: 11.88 kB / 335.1 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.09042, allocations: 1.705 MB / 336.8 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/0.09122, allocations: 334.5 kB / 337.1 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.09144, allocations: 35.98 kB / 337.1 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.09206, allocations: 59.91 kB / 337.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.09227, allocations: 117 kB / 337.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.09234, allocations: 35.98 kB / 337.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009157/0.09326, allocations: 0.8355 MB / 338.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.09326, allocations: 0 / 338.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001689/0.09494, allocations: 0.5819 MB / 338.8 MB, free: 14.39 MB / 330.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.0004302/0.09537, allocations: 230.2 kB / 339 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.09737, allocations: 1.408 MB / 340.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.09737, allocations: 0 / 340.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.09856, allocations: 1.119 MB / 341.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.1003, allocations: 437.5 kB / 341.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007637/0.108, allocations: 4.746 MB / 346.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008585/0.1088, allocations: 0.7085 MB / 347.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009783/0.1098, allocations: 239.7 kB / 347.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/0.1107, allocations: 0.5019 MB / 348.1 MB, free: 4.762 MB / 330.7 MB Notification: Performance of SimCode: time 1.943e-06/0.1107, allocations: 4 kB / 348.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of Templates: time 0.1585/0.2692, allocations: 31.09 MB / 379.2 MB, free: 77.36 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: 4.064655541907996]