Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.0009095/0.0009095, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001252/0.001252, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9578/0.9578, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.548e-05, allocations: 2.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006328/0.006344, allocations: 7.817 MB / 281.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.0096, allocations: 2.652 MB / 284 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.009991, allocations: 31.88 kB / 284 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009218/0.01091, allocations: 0.5323 MB / 284.5 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006775/0.01159, allocations: 0.5 MB / 285 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.01189, allocations: 247.7 kB / 285.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009641/0.01286, allocations: 1.493 MB / 286.8 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.01327, allocations: 391.2 kB / 287.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007396/0.01401, allocations: 0.8495 MB / 288 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.01457, allocations: 458.6 kB / 288.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.01469, allocations: 132 kB / 288.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.01489, allocations: 168 kB / 288.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.01502, allocations: 282.9 kB / 289 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.01529, allocations: 450.9 kB / 289.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.01605, allocations: 0.9106 MB / 290.4 MB, free: 284 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01605, allocations: 0 / 290.4 MB, free: 284 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01605, allocations: 0 / 290.4 MB, free: 284 kB / 266.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.01606, allocations: 0 / 290.4 MB, free: 284 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1004/0.1165, allocations: 1.34 MB / 291.7 MB, free: 25.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1165, allocations: 10.73 kB / 291.7 MB, free: 25.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.117, allocations: 214.4 kB / 291.9 MB, free: 25.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.1177, allocations: 0.5149 MB / 292.4 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.1178, allocations: 68.72 kB / 292.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.1179, allocations: 103.6 kB / 292.6 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.1187, allocations: 0.7313 MB / 293.3 MB, free: 24.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.1187, allocations: 11.2 kB / 293.4 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.1188, allocations: 42.16 kB / 293.4 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.1188, allocations: 23.41 kB / 293.4 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.1192, allocations: 233.3 kB / 293.6 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.1222, allocations: 2.952 MB / 296.6 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.1225, allocations: 170.4 kB / 296.8 MB, free: 22.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.1226, allocations: 65.72 kB / 296.8 MB, free: 22.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1226, allocations: 6.391 kB / 296.8 MB, free: 22.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1226, allocations: 35.97 kB / 296.9 MB, free: 22.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.1226, allocations: 1.219 kB / 296.9 MB, free: 22.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001081/0.1237, allocations: 0.6097 MB / 297.5 MB, free: 22.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.1237, allocations: 82.19 kB / 297.6 MB, free: 22.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/0.1243, allocations: 0.6549 MB / 298.2 MB, free: 22.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1243, allocations: 38.27 kB / 298.3 MB, free: 22.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.1246, allocations: 0.5076 MB / 298.8 MB, free: 22.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.1246, allocations: 138.8 kB / 298.9 MB, free: 21.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1248, allocations: 126.1 kB / 299 MB, free: 21.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1249, allocations: 391.5 kB / 299.4 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.1249, allocations: 53.42 kB / 299.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1251, allocations: 399 kB / 299.8 MB, free: 21.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.1255, allocations: 0.4884 MB / 300.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.1255, allocations: 3.5 kB / 300.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005724/0.1261, allocations: 443.8 kB / 300.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1261, allocations: 8.812 kB / 300.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.1261, allocations: 15.22 kB / 300.8 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.1263, allocations: 31.09 kB / 300.8 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.1266, allocations: 173.7 kB / 301 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005206/0.1271, allocations: 1.171 MB / 302.2 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.1274, allocations: 37.06 kB / 302.2 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.1275, allocations: 30.47 kB / 302.2 MB, free: 19.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.1276, allocations: 157.2 kB / 302.4 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.1277, allocations: 58.41 kB / 302.4 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1279, allocations: 217.9 kB / 302.7 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.128, allocations: 7.281 kB / 302.7 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.128, allocations: 1.094 kB / 302.7 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.128, allocations: 6.062 kB / 302.7 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008224/0.1288, allocations: 0.6568 MB / 303.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1288, allocations: 4.797 kB / 303.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.129, allocations: 73.08 kB / 303.4 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.04e-05/0.1291, allocations: 34.5 kB / 303.4 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1291, allocations: 6.812 kB / 303.4 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000393/0.1295, allocations: 1.159 MB / 304.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1295, allocations: 6.203 kB / 304.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.1298, allocations: 399.1 kB / 305 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.13, allocations: 69.58 kB / 305.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.13, allocations: 8.719 kB / 305.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1302, allocations: 21.72 kB / 305.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.1302, allocations: 35.11 kB / 305.1 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1303, allocations: 9.938 kB / 305.1 MB, free: 17.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003659/0.1306, allocations: 311.4 kB / 305.4 MB, free: 17.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1306, allocations: 1.656 kB / 305.4 MB, free: 17.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005219/0.1311, allocations: 185.6 kB / 305.6 MB, free: 17.65 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001656/0.1313, allocations: 109.1 kB / 305.7 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.1317, allocations: 383.8 kB / 306.1 MB, free: 17.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.236e-05/0.1317, allocations: 11.5 kB / 306.1 MB, free: 17.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1319, allocations: 204.8 kB / 306.3 MB, free: 17.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.1324, allocations: 197.9 kB / 306.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.1345, allocations: 1.518 MB / 308 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1346, allocations: 162.3 kB / 308.2 MB, free: 16.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.1349, allocations: 98.52 kB / 308.3 MB, free: 16.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.1352, allocations: 219.5 kB / 308.5 MB, free: 16.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.233e-06/0.1352, allocations: 4 kB / 308.5 MB, free: 16.13 MB / 266.7 MB Notification: Performance of Templates: time 0.01326/0.1484, allocations: 9.698 MB / 318.2 MB, free: 7.715 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_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: 2.855716067366302]