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.001048/0.001048, allocations: 85.08 kB / 23 MB, free: 1.504 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.001095/0.001095, allocations: 173.2 kB / 26.39 MB, free: 8 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.02/1.02, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.934e-06/1.934e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.631e-05, allocations: 10.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006924/0.00694, allocations: 7.816 MB / 260.1 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003915/0.01086, allocations: 2.607 MB / 262.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.01133, allocations: 27.88 kB / 262.7 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.01241, allocations: 0.5323 MB / 263.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007399/0.01315, allocations: 0.5116 MB / 263.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.01352, allocations: 251.7 kB / 264 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.01468, allocations: 1.532 MB / 265.5 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007121/0.0154, allocations: 371.2 kB / 265.9 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007926/0.01619, allocations: 0.869 MB / 266.8 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.01664, allocations: 478.5 kB / 267.2 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.01676, allocations: 136 kB / 267.4 MB, free: 8.027 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.01698, allocations: 179.9 kB / 267.6 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.01712, allocations: 278.9 kB / 267.8 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.01742, allocations: 466.9 kB / 268.3 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007711/0.01819, allocations: 0.9185 MB / 269.2 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01819, allocations: 0 / 269.2 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.0182, allocations: 4 kB / 269.2 MB, free: 6.195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.01821, allocations: 3.938 kB / 269.2 MB, free: 6.191 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.00146/0.01967, allocations: 1.519 MB / 270.7 MB, free: 4.633 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.0197, allocations: 15.98 kB / 270.7 MB, free: 4.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000408/0.02011, allocations: 268 kB / 271 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/0.02076, allocations: 0.6607 MB / 271.7 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.0208, allocations: 74 kB / 271.7 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.045e-05/0.02089, allocations: 103.9 kB / 271.8 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/0.02157, allocations: 0.7652 MB / 272.6 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.02159, allocations: 0 / 272.6 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.02164, allocations: 47.98 kB / 272.6 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.02166, allocations: 24 kB / 272.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.02199, allocations: 277.7 kB / 272.9 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003256/0.02525, allocations: 3.651 MB / 276.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.02554, allocations: 259.9 kB / 276.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.02577, allocations: 172.2 kB / 277 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.0258, allocations: 12.33 kB / 277 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.02582, allocations: 41.72 kB / 277.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.02582, allocations: 0 / 277.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001034/0.02685, allocations: 0.8107 MB / 277.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.02689, allocations: 85.11 kB / 278 MB, free: 13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.02739, allocations: 0.733 MB / 278.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.02742, allocations: 37.7 kB / 278.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.02771, allocations: 0.6425 MB / 279.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/0.02779, allocations: 162.6 kB / 279.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.02791, allocations: 144.2 kB / 279.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.02818, allocations: 0.5663 MB / 280.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.02827, allocations: 65.94 kB / 280.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.02858, allocations: 0.506 MB / 280.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.02899, allocations: 0.6054 MB / 281.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.02899, allocations: 4 kB / 281.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005684/0.02956, allocations: 0.5893 MB / 282 MB, free: 8.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.02957, allocations: 12 kB / 282 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.02958, allocations: 8 kB / 282 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.02974, allocations: 75.58 kB / 282.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.02999, allocations: 155.7 kB / 282.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.0315, allocations: 3.804 MB / 286.1 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.03175, allocations: 35.89 kB / 286.1 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.03177, allocations: 28 kB / 286.1 MB, free: 4.168 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.0001647/0.03194, allocations: 212.3 kB / 286.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.03202, allocations: 95.48 kB / 286.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.03237, allocations: 348.2 kB / 286.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.03237, allocations: 4 kB / 286.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.03238, allocations: 4 kB / 286.8 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.03238, allocations: 3.984 kB / 286.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.03353, allocations: 1.006 MB / 287.8 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.03353, allocations: 0 / 287.8 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.03369, allocations: 67.91 kB / 287.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.03382, allocations: 71.48 kB / 287.9 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.03384, allocations: 15.98 kB / 287.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.03533, allocations: 3.799 MB / 291.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.03533, allocations: 4 kB / 291.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.0358, allocations: 0.621 MB / 292.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.03594, allocations: 111.4 kB / 292.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.03599, allocations: 8 kB / 292.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.03624, allocations: 23.98 kB / 292.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.03631, allocations: 35.88 kB / 292.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.87e-05/0.03633, allocations: 16 kB / 292.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000292/0.03662, allocations: 438.8 kB / 293 MB, free: 12.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03662, allocations: 0 / 293 MB, free: 12.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005191/0.03714, allocations: 203.9 kB / 293.2 MB, free: 12.73 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.0001537/0.03729, allocations: 119.2 kB / 293.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.03781, allocations: 0.6578 MB / 293.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.03781, allocations: 8.188 kB / 294 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.03815, allocations: 475.1 kB / 294.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.0387, allocations: 207.3 kB / 294.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.04046, allocations: 1.62 MB / 296.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.04057, allocations: 171.3 kB / 296.4 MB, free: 9.316 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.04079, allocations: 98.67 kB / 296.5 MB, free: 9.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.04109, allocations: 270 kB / 296.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.04109, allocations: 0 / 296.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of Templates: time 0.01403/0.05511, allocations: 11.11 MB / 307.9 MB, free: 13.88 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.186042800080031]