Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 100.7 kB / 20.96 MB, free: 480 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 154.3 kB / 24.25 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.05e-05/4.236e-05, allocations: 13 kB / 267.3 MB, free: 10.19 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01032/0.01036, allocations: 7.143 MB / 274.5 MB, free: 3 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.004946/0.01531, allocations: 2.47 MB / 276.9 MB, free: 0.5234 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006896/0.01599, allocations: 27.88 kB / 277 MB, free: 0.4961 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.01753, allocations: 0.5284 MB / 277.5 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.01882, allocations: 0.5117 MB / 278 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.01944, allocations: 247.6 kB / 278.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.02136, allocations: 1.532 MB / 279.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006487/0.02201, allocations: 375.2 kB / 280.1 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.0232, allocations: 0.8612 MB / 281 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.02387, allocations: 442.6 kB / 281.4 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.02406, allocations: 136 kB / 281.6 MB, free: 11.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.02442, allocations: 168 kB / 281.7 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.02468, allocations: 294.8 kB / 282 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000547/0.02523, allocations: 466.9 kB / 282.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.02719, allocations: 1.721 MB / 284.2 MB, free: 9.211 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.0272, allocations: 0 / 284.2 MB, free: 9.211 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0272, allocations: 0 / 284.2 MB, free: 9.211 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.02722, allocations: 0 / 284.2 MB, free: 9.211 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002599/0.02982, allocations: 1.399 MB / 285.6 MB, free: 7.777 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.02986, allocations: 16.03 kB / 285.6 MB, free: 7.762 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.0307, allocations: 264 kB / 285.9 MB, free: 7.504 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.03202, allocations: 0.6962 MB / 286.6 MB, free: 6.781 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.03209, allocations: 74 kB / 286.6 MB, free: 6.711 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.03224, allocations: 96 kB / 286.7 MB, free: 6.617 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.03404, allocations: 1.035 MB / 287.8 MB, free: 5.527 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.03408, allocations: 3.953 kB / 287.8 MB, free: 5.523 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.03417, allocations: 44 kB / 287.8 MB, free: 5.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.0342, allocations: 24 kB / 287.8 MB, free: 5.457 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.03553, allocations: 0.6364 MB / 288.5 MB, free: 4.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005256/0.04078, allocations: 3.409 MB / 291.9 MB, free: 1.203 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.0415, allocations: 343.5 kB / 292.2 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.04213, allocations: 253.9 kB / 292.5 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.04217, allocations: 8.328 kB / 292.5 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.0422, allocations: 38.89 kB / 292.5 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/0.04221, allocations: 0 / 292.5 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of matching and sorting (n=44): time 0.002915/0.04512, allocations: 1.272 MB / 293.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.04518, allocations: 81.11 kB / 293.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.0463, allocations: 0.762 MB / 294.6 MB, free: 14.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.04634, allocations: 29.7 kB / 294.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.04684, allocations: 0.5851 MB / 295.2 MB, free: 13.76 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.04699, allocations: 158.7 kB / 295.4 MB, free: 13.6 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.04719, allocations: 134.6 kB / 295.5 MB, free: 13.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.04743, allocations: 382.8 kB / 295.9 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.04781, allocations: 165.9 kB / 296.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.04847, allocations: 481.7 kB / 296.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.04953, allocations: 0.67 MB / 297.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.04954, allocations: 8 kB / 297.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001557/0.0511, allocations: 0.7944 MB / 298 MB, free: 10.69 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.05113, allocations: 8 kB / 298 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.05115, allocations: 12 kB / 298 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.05145, allocations: 81.67 kB / 298.1 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.052, allocations: 152 kB / 298.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.0549, allocations: 2.897 MB / 301.1 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.05551, allocations: 31.98 kB / 301.2 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.05557, allocations: 32 kB / 301.2 MB, free: 7.27 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004819/0.05605, allocations: 261.5 kB / 301.5 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.05621, allocations: 91.48 kB / 301.6 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.05723, allocations: 494.6 kB / 302 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.05723, allocations: 4 kB / 302 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.05724, allocations: 3.938 kB / 302 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.05725, allocations: 7.922 kB / 302.1 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.05942, allocations: 1.189 MB / 303.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.05942, allocations: 0 / 303.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.05977, allocations: 75.84 kB / 303.3 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.06, allocations: 81.83 kB / 303.4 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.06003, allocations: 12 kB / 303.4 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.06279, allocations: 2.866 MB / 306.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.0628, allocations: 4.031 kB / 306.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.06426, allocations: 0.7788 MB / 307.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.06457, allocations: 111.4 kB / 307.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.06467, allocations: 16 kB / 307.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.06509, allocations: 19.98 kB / 307.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.06518, allocations: 35.94 kB / 307.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.06521, allocations: 16 kB / 307.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008839/0.06609, allocations: 0.5069 MB / 307.8 MB, free: 384 kB / 286.1 MB Notification: Performance of sort global known variables: time 6e-08/0.06609, allocations: 0 / 307.8 MB, free: 384 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.001009/0.0671, allocations: 207.9 kB / 308 MB, free: 176 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,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.0002962/0.0674, allocations: 123.1 kB / 308.1 MB, free: 44 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.1023/0.1697, allocations: 0.6595 MB / 308.7 MB, free: 49.2 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.1697, allocations: 1.094 kB / 308.7 MB, free: 49.2 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.1703, allocations: 428.2 kB / 309.2 MB, free: 48.97 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.1714, allocations: 198.2 kB / 309.4 MB, free: 48.97 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.174, allocations: 1.655 MB / 311 MB, free: 48.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.1745, allocations: 419.1 kB / 311.4 MB, free: 48.08 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.1749, allocations: 97.3 kB / 311.5 MB, free: 48.05 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.175, allocations: 53.12 kB / 311.6 MB, free: 48.05 MB / 286.1 MB Notification: Performance of SimCode: time 1.192e-06/0.175, allocations: 0 / 311.6 MB, free: 48.05 MB / 286.1 MB Notification: Performance of Templates: time 0.01796/0.193, allocations: 10.07 MB / 321.6 MB, free: 44.82 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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: 4.561384461820126]