Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001299/0.001299, allocations: 84.98 kB / 23 MB, free: 1.496 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.001388/0.001388, allocations: 181.5 kB / 26.4 MB, free: 7.973 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.016/1.016, allocations: 158.6 MB / 188.3 MB, free: 2.77 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.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.073e-06/1.073e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.368e-05, allocations: 6.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.006125/0.006139, allocations: 7.944 MB / 260.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.009749, allocations: 2.666 MB / 262.9 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005151/0.01026, allocations: 27.88 kB / 262.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.01127, allocations: 0.5285 MB / 263.4 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008251/0.01209, allocations: 0.5233 MB / 264 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.01248, allocations: 275.5 kB / 264.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.01365, allocations: 1.56 MB / 265.8 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.0141, allocations: 371.3 kB / 266.1 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.01491, allocations: 0.8807 MB / 267 MB, free: 8.367 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.01538, allocations: 490.5 kB / 267.5 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.0155, allocations: 136 kB / 267.6 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.01571, allocations: 175.9 kB / 267.8 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.01585, allocations: 294.8 kB / 268.1 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.01619, allocations: 470.9 kB / 268.6 MB, free: 6.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.01803, allocations: 0.9534 MB / 269.5 MB, free: 5.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.01803, allocations: 4 kB / 269.5 MB, free: 5.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01803, allocations: 0 / 269.5 MB, free: 5.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.01805, allocations: 0 / 269.5 MB, free: 5.871 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001987/0.02003, allocations: 1.542 MB / 271.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.02007, allocations: 11.98 kB / 271.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.02053, allocations: 280 kB / 271.3 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.02119, allocations: 0.6692 MB / 272 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/0.02123, allocations: 74 kB / 272.1 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/0.02131, allocations: 100 kB / 272.2 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.02197, allocations: 0.773 MB / 273 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.02199, allocations: 7.953 kB / 273 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.02204, allocations: 40 kB / 273 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.02205, allocations: 24 kB / 273 MB, free: 2.227 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.02238, allocations: 281.6 kB / 273.3 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.02517, allocations: 3.674 MB / 277 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.02545, allocations: 259.2 kB / 277.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.02568, allocations: 171.5 kB / 277.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.0257, allocations: 11.98 kB / 277.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.02572, allocations: 41.39 kB / 277.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.363e-06/0.02572, allocations: 0 / 277.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.00109/0.02681, allocations: 0.8521 MB / 278.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.02685, allocations: 81.11 kB / 278.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.02738, allocations: 0.7564 MB / 279.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.02741, allocations: 33.7 kB / 279.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.02776, allocations: 0.6503 MB / 279.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.471e-05/0.02785, allocations: 174.5 kB / 280 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.02798, allocations: 140.2 kB / 280.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.02818, allocations: 0.5779 MB / 280.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-05/0.02827, allocations: 69.92 kB / 280.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.02856, allocations: 0.5017 MB / 281.3 MB, free: 9.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.02901, allocations: 0.6147 MB / 281.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.02902, allocations: 4 kB / 281.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006179/0.02964, allocations: 0.6011 MB / 282.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.02965, allocations: 12 kB / 282.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.02966, allocations: 8 kB / 282.5 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.02981, allocations: 79.56 kB / 282.6 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.03016, allocations: 155.8 kB / 282.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.0318, allocations: 3.8 MB / 286.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.03206, allocations: 35.94 kB / 286.6 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.03208, allocations: 31.94 kB / 286.6 MB, free: 3.672 MB / 266.7 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 (85): * Single equations (assignments): 83 * 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.0004404/0.03252, allocations: 208.2 kB / 286.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.03262, allocations: 103.5 kB / 286.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.03298, allocations: 348.5 kB / 287.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.03298, allocations: 4 kB / 287.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.03298, allocations: 4 kB / 287.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.03299, allocations: 0 / 287.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.03399, allocations: 1.029 MB / 288.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.034, allocations: 4 kB / 288.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.03416, allocations: 67.91 kB / 288.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.03429, allocations: 67.55 kB / 288.4 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.03431, allocations: 8 kB / 288.4 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.03577, allocations: 3.799 MB / 292.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.03577, allocations: 0 / 292.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.03628, allocations: 0.6288 MB / 292.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.03642, allocations: 123.4 kB / 293 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.03647, allocations: 8 kB / 293 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.03667, allocations: 23.98 kB / 293 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.03672, allocations: 47.8 kB / 293.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.03673, allocations: 12 kB / 293.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.03702, allocations: 446.8 kB / 293.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03702, allocations: 0 / 293.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000481/0.0375, allocations: 215.9 kB / 293.7 MB, free: 12.17 MB / 282.7 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 (39): * Single equations (assignments): 37 * 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.0001435/0.03764, allocations: 123.2 kB / 293.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.03841, allocations: 0.6498 MB / 294.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.03841, allocations: 320 / 294.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.0387, allocations: 495.9 kB / 295 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.03925, allocations: 210.6 kB / 295.2 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.04112, allocations: 1.639 MB / 296.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.04123, allocations: 175.4 kB / 297 MB, free: 8.723 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.04145, allocations: 98.67 kB / 297.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.04177, allocations: 270.1 kB / 297.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of SimCode: time 6.02e-07/0.04177, allocations: 0 / 297.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of Templates: time 0.01397/0.05574, allocations: 11.36 MB / 308.7 MB, free: 13.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.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.267930252943188]