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.001752/0.001752, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001201/0.001201, allocations: 167.7 kB / 25.33 MB, free: 9.449 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.9639/0.9639, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.573e-06/1.573e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.659e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.007331/0.007357, allocations: 8.13 MB / 259.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.01155, allocations: 2.697 MB / 261.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.01221, allocations: 27.88 kB / 261.9 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.01345, allocations: 0.5207 MB / 262.4 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009262/0.01437, allocations: 0.531 MB / 263 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.01477, allocations: 263.6 kB / 263.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.0161, allocations: 1.566 MB / 264.8 MB, free: 5.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004898/0.01659, allocations: 375.3 kB / 265.2 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009293/0.01752, allocations: 0.8768 MB / 266 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005617/0.01808, allocations: 486.5 kB / 266.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.01823, allocations: 140 kB / 266.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.01851, allocations: 183.9 kB / 266.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.01867, allocations: 294.9 kB / 267.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.01906, allocations: 474.8 kB / 267.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.02009, allocations: 0.9534 MB / 268.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.0201, allocations: 0 / 268.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0201, allocations: 0 / 268.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.02012, allocations: 0 / 268.5 MB, free: 2.004 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.005157/0.02527, allocations: 1.538 MB / 270.1 MB, free: 436 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.02532, allocations: 11.98 kB / 270.1 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000652/0.02597, allocations: 284 kB / 270.4 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.0275, allocations: 0.6965 MB / 271.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.02758, allocations: 70 kB / 271.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.02776, allocations: 104 kB / 271.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.02937, allocations: 0.8356 MB / 272.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.02941, allocations: 4 kB / 272.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-05/0.0295, allocations: 40 kB / 272.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.02953, allocations: 24 kB / 272.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009732/0.0305, allocations: 359.6 kB / 272.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.0355, allocations: 3.655 MB / 276.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.03609, allocations: 271.3 kB / 276.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.03656, allocations: 195.5 kB / 276.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.0366, allocations: 4 kB / 276.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.03664, allocations: 45.39 kB / 276.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 2.365e-06/0.03664, allocations: 0 / 276.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.002443/0.03909, allocations: 1.058 MB / 277.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.03915, allocations: 81.11 kB / 277.8 MB, free: 8.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000954/0.0401, allocations: 0.7725 MB / 278.5 MB, free: 7.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.04014, allocations: 37.7 kB / 278.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.04056, allocations: 0.6465 MB / 279.2 MB, free: 6.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.04068, allocations: 170.6 kB / 279.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.04085, allocations: 132.2 kB / 279.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.04107, allocations: 0.5664 MB / 280.1 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.04126, allocations: 93.94 kB / 280.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.0417, allocations: 0.5251 MB / 280.7 MB, free: 5.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.04237, allocations: 0.6422 MB / 281.4 MB, free: 4.332 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.04238, allocations: 4 kB / 281.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001/0.04338, allocations: 0.644 MB / 282 MB, free: 3.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.0434, allocations: 11.98 kB / 282 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.04342, allocations: 12 kB / 282 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.04369, allocations: 75.72 kB / 282.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.04402, allocations: 155.7 kB / 282.2 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.04596, allocations: 3.865 MB / 286.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.04628, allocations: 31.95 kB / 286.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.04632, allocations: 36.09 kB / 286.2 MB, free: 15.23 MB / 282.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.0002054/0.04652, allocations: 212.2 kB / 286.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.04661, allocations: 107.4 kB / 286.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.04706, allocations: 372.5 kB / 286.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.04707, allocations: 8 kB / 286.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.04707, allocations: 128 / 286.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.04708, allocations: 4 kB / 286.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.04833, allocations: 1.181 MB / 288 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.04833, allocations: 4.219 kB / 288.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.04851, allocations: 75.89 kB / 288.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.04864, allocations: 63.28 kB / 288.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.04867, allocations: 15.98 kB / 288.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.05024, allocations: 3.842 MB / 292 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/0.05025, allocations: 7.938 kB / 292.1 MB, free: 8.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.05085, allocations: 0.6643 MB / 292.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.05103, allocations: 123.3 kB / 292.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.05108, allocations: 15.98 kB / 292.9 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.05127, allocations: 24.02 kB / 292.9 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.05134, allocations: 43.88 kB / 292.9 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.05136, allocations: 8 kB / 292.9 MB, free: 8.062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004068/0.05176, allocations: 490.9 kB / 293.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05176, allocations: 0 / 293.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005822/0.05234, allocations: 208 kB / 293.6 MB, free: 7.387 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.0002266/0.05257, allocations: 123.1 kB / 293.7 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007352/0.05331, allocations: 0.6919 MB / 294.4 MB, free: 6.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.05331, allocations: 0 / 294.4 MB, free: 6.527 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.05363, allocations: 0.4897 MB / 294.9 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.05422, allocations: 215.5 kB / 295.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.05642, allocations: 1.631 MB / 296.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.05655, allocations: 183.4 kB / 296.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.05676, allocations: 98.67 kB / 297 MB, free: 3.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.05685, allocations: 56.48 kB / 297.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.05685, allocations: 3.938 kB / 297.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of Templates: time 0.119/0.1759, allocations: 10.32 MB / 307.4 MB, free: 51.84 MB / 282.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.4364515650086105]