Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001996/0.001996, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001986/0.001986, allocations: 167.7 kB / 25.03 MB, free: 8.41 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 1.474/1.474, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.297e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.02031/0.02035, allocations: 9.989 MB / 260.4 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007994/0.02834, allocations: 3.226 MB / 263.6 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.02987, allocations: 63.56 kB / 263.7 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.03214, allocations: 0.6946 MB / 264.4 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.03534, allocations: 0.9197 MB / 265.3 MB, free: 8.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.03656, allocations: 419.4 kB / 265.7 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004794/0.04136, allocations: 3.073 MB / 268.8 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.04409, allocations: 1.325 MB / 270.1 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004433/0.04852, allocations: 2.011 MB / 272.1 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003552/0.05208, allocations: 1.61 MB / 273.7 MB, free: 352 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009226/0.053, allocations: 356 kB / 274 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.0544, allocations: 451.7 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.056, allocations: 1.075 MB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.05813, allocations: 1.119 MB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006441/0.06457, allocations: 4.76 MB / 281.4 MB, free: 8.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.06458, allocations: 0 / 281.4 MB, free: 8.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.06458, allocations: 4 kB / 281.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001202/0.0647, allocations: 0 / 281.4 MB, free: 8.578 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008811/0.07351, allocations: 3.677 MB / 285.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.07356, allocations: 11.98 kB / 285.1 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.07492, allocations: 0.5301 MB / 285.7 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/0.07859, allocations: 1.524 MB / 287.2 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.0788, allocations: 181 kB / 287.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000422/0.07922, allocations: 232.3 kB / 287.6 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006134/0.08535, allocations: 2.984 MB / 290.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.747e-05/0.08542, allocations: 19.84 kB / 290.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.08567, allocations: 96 kB / 290.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.08581, allocations: 104.6 kB / 290.8 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004415/0.09022, allocations: 2.016 MB / 292.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02065/0.1109, allocations: 10.99 MB / 303.8 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.1132, allocations: 1.044 MB / 304.8 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.1151, allocations: 0.7683 MB / 305.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.1153, allocations: 56.97 kB / 305.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.1154, allocations: 46.39 kB / 305.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 3.076e-06/0.1154, allocations: 0 / 305.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=131): time 0.01141/0.1268, allocations: 4.122 MB / 309.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.1269, allocations: 64.72 kB / 309.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.1303, allocations: 1.927 MB / 311.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.1305, allocations: 45.7 kB / 311.9 MB, free: 9.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.1318, allocations: 1.353 MB / 313.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006281/0.1325, allocations: 0.5078 MB / 313.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006305/0.1331, allocations: 349.1 kB / 314.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.1334, allocations: 476.8 kB / 314.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.1344, allocations: 451.7 kB / 315 MB, free: 6.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.1362, allocations: 1.075 MB / 316.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.1393, allocations: 1.663 MB / 317.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.1393, allocations: 4 kB / 317.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00441/0.1437, allocations: 1.858 MB / 319.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.1438, allocations: 16.33 kB / 319.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.1438, allocations: 16 kB / 319.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.1449, allocations: 286.5 kB / 319.9 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.1463, allocations: 351.4 kB / 320.2 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008387/0.1547, allocations: 6.925 MB / 327.2 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.1563, allocations: 103.8 kB / 327.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.1565, allocations: 60 kB / 327.3 MB, free: 8.906 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (174): * Single equations (assignments): 170 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001391/0.1579, allocations: 0.6599 MB / 328 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005593/0.1584, allocations: 226.8 kB / 328.2 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.1622, allocations: 1.506 MB / 329.7 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.1622, allocations: 16 kB / 329.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.1622, allocations: 4 kB / 329.7 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.1622, allocations: 3.984 kB / 329.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.1723, allocations: 4.254 MB / 334 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.1723, allocations: 4 kB / 334 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.1734, allocations: 231.7 kB / 334.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.1746, allocations: 322.7 kB / 334.5 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.1747, allocations: 31.98 kB / 334.6 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009791/0.1845, allocations: 8.694 MB / 343.3 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.1845, allocations: 11.94 kB / 343.3 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0051/0.1896, allocations: 2.299 MB / 345.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.1909, allocations: 318.8 kB / 345.9 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.1912, allocations: 35.98 kB / 345.9 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009368/0.1921, allocations: 83.91 kB / 346 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/0.1925, allocations: 128.7 kB / 346.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.815e-05/0.1926, allocations: 39.98 kB / 346.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002171/0.1947, allocations: 1.116 MB / 347.3 MB, free: 4.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1947, allocations: 0 / 347.3 MB, free: 4.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001907/0.1966, allocations: 0.4999 MB / 347.8 MB, free: 3.652 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.0004386/0.1971, allocations: 198.8 kB / 348 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003973/0.2011, allocations: 1.951 MB / 349.9 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2011, allocations: 4 kB / 349.9 MB, free: 1.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1113/0.3124, allocations: 1.477 MB / 351.4 MB, free: 97.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.3149, allocations: 429.4 kB / 351.8 MB, free: 97.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006574/0.3215, allocations: 4.517 MB / 356.3 MB, free: 95.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.3226, allocations: 1.34 MB / 357.7 MB, free: 95.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001166/0.3238, allocations: 346.6 kB / 358 MB, free: 95.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.3241, allocations: 119.7 kB / 358.1 MB, free: 95.34 MB / 330.7 MB Notification: Performance of SimCode: time 2.184e-06/0.3241, allocations: 0 / 358.1 MB, free: 95.34 MB / 330.7 MB Notification: Performance of Templates: time 0.03718/0.3613, allocations: 26.84 MB / 385 MB, free: 72.12 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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: 5.4373827539384365]