Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001516/0.001516, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001887/0.001887, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.9735/0.9735, allocations: 158.6 MB / 187.5 MB, free: 2.812 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_Start,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_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 251.5 MB, free: 7.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.656e-05, allocations: 2.312 kB / 251.5 MB, free: 7.34 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.00599/0.006007, allocations: 7.824 MB / 259.3 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.008823, allocations: 2.6 MB / 261.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.009229, allocations: 27.88 kB / 261.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008935/0.01012, allocations: 0.5323 MB / 262.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006068/0.01073, allocations: 0.5155 MB / 263 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.01101, allocations: 251.6 kB / 263.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.01201, allocations: 1.536 MB / 264.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.01243, allocations: 379.2 kB / 265.1 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006745/0.0131, allocations: 0.8689 MB / 266 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.0135, allocations: 474.5 kB / 266.5 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.01361, allocations: 132 kB / 266.6 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.01383, allocations: 176 kB / 266.8 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.01397, allocations: 286.9 kB / 267 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.01426, allocations: 458.9 kB / 267.5 MB, free: 7.227 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007781/0.01504, allocations: 0.9224 MB / 268.4 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.01505, allocations: 7.922 kB / 268.4 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01505, allocations: 4 kB / 268.4 MB, free: 6.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.01506, allocations: 3.938 kB / 268.4 MB, free: 6.285 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001426/0.01649, allocations: 1.515 MB / 269.9 MB, free: 4.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.01654, allocations: 11.98 kB / 269.9 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.017, allocations: 272 kB / 270.2 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.01766, allocations: 0.6606 MB / 270.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.01771, allocations: 70 kB / 270.9 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.01779, allocations: 99.95 kB / 271 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.01846, allocations: 0.7652 MB / 271.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.01848, allocations: 4 kB / 271.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.01852, allocations: 44 kB / 271.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.01854, allocations: 24 kB / 271.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.01885, allocations: 285.6 kB / 272.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.02169, allocations: 3.663 MB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.02198, allocations: 244 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.02221, allocations: 180.1 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.02224, allocations: 8.328 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.02226, allocations: 41.72 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.513e-06/0.02226, allocations: 0 / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001019/0.02328, allocations: 0.8107 MB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.02332, allocations: 85.11 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.02384, allocations: 0.7291 MB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.02386, allocations: 33.7 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.02419, allocations: 0.6425 MB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.19e-05/0.02427, allocations: 174.6 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.02438, allocations: 132.2 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.02456, allocations: 0.5741 MB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.02464, allocations: 69.94 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.0249, allocations: 0.502 MB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.02532, allocations: 0.6092 MB / 280.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.02532, allocations: 4 kB / 280.6 MB, free: 9.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000563/0.02588, allocations: 0.5854 MB / 281.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.02591, allocations: 11.98 kB / 281.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.02592, allocations: 8 kB / 281.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.02608, allocations: 79.67 kB / 281.3 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.02632, allocations: 147.8 kB / 281.5 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.02797, allocations: 3.808 MB / 285.3 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.02819, allocations: 35.89 kB / 285.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.02822, allocations: 28.09 kB / 285.3 MB, free: 4.266 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 (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.0001685/0.02839, allocations: 212.2 kB / 285.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.02847, allocations: 103.4 kB / 285.6 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.0288, allocations: 344.3 kB / 286 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02881, allocations: 4 kB / 286 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.02881, allocations: 7.938 kB / 286 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.02881, allocations: 3.984 kB / 286 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009135/0.02973, allocations: 1.006 MB / 287 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.02973, allocations: 8.219 kB / 287 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.02988, allocations: 67.91 kB / 287.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.03, allocations: 67.31 kB / 287.1 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.03001, allocations: 8 kB / 287.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.03141, allocations: 3.799 MB / 290.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.03141, allocations: 0 / 290.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.03187, allocations: 0.617 MB / 291.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.032, allocations: 111.4 kB / 291.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.03204, allocations: 12 kB / 291.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.03221, allocations: 28.02 kB / 291.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.03226, allocations: 43.91 kB / 291.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.03227, allocations: 8 kB / 291.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002618/0.03254, allocations: 434.8 kB / 292.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03254, allocations: 0 / 292.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004683/0.033, allocations: 207.9 kB / 292.4 MB, free: 12.82 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 (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.0001523/0.03316, allocations: 123.2 kB / 292.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005041/0.03366, allocations: 0.6608 MB / 293.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03366, allocations: 0 / 293.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.03394, allocations: 484.6 kB / 293.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.03447, allocations: 216.7 kB / 293.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.0363, allocations: 1.608 MB / 295.5 MB, free: 9.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.0364, allocations: 179.3 kB / 295.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.03659, allocations: 94.69 kB / 295.7 MB, free: 9.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.03689, allocations: 270 kB / 296 MB, free: 9.035 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03689, allocations: 0 / 296 MB, free: 9.035 MB / 282.7 MB Notification: Performance of Templates: time 0.01315/0.05005, allocations: 10.89 MB / 306.9 MB, free: 14.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_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_Start/DCSE_Start.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.0309544699266553]