Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001243/0.001243, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001995/0.003238, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001167/0.001167, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001664/0.002831, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9184/0.9184, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1524/1.071, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.819e-05, allocations: 2.312 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009035/0.009063, allocations: 7.813 MB / 229.8 MB, free: 8.191 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.01459, allocations: 2.669 MB / 232.5 MB, free: 5.512 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.0157, allocations: 27.88 kB / 232.5 MB, free: 5.484 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.01714, allocations: 0.5441 MB / 233 MB, free: 4.938 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.01838, allocations: 0.4922 MB / 233.5 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.01888, allocations: 247.6 kB / 233.8 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.02051, allocations: 1.494 MB / 235.3 MB, free: 2.699 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006219/0.02113, allocations: 391.2 kB / 235.7 MB, free: 2.289 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.02241, allocations: 0.9538 MB / 236.6 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000636/0.02305, allocations: 466.6 kB / 237.1 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.02322, allocations: 132 kB / 237.2 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.02359, allocations: 179.9 kB / 237.4 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.02376, allocations: 211.2 kB / 237.6 MB, free: 372 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.02416, allocations: 387.3 kB / 238 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.02525, allocations: 0.8483 MB / 238.8 MB, free: 15.13 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-05/0.02527, allocations: 11.94 kB / 238.8 MB, free: 15.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02527, allocations: 0 / 238.8 MB, free: 15.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.0253, allocations: 0 / 238.8 MB, free: 15.12 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002014/0.02731, allocations: 1.581 MB / 240.4 MB, free: 13.51 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.02735, allocations: 8.031 kB / 240.4 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005101/0.02786, allocations: 297.8 kB / 240.7 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.02868, allocations: 0.5177 MB / 241.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/0.02873, allocations: 74 kB / 241.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.02884, allocations: 99.94 kB / 241.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/0.02968, allocations: 0.7325 MB / 242.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.02971, allocations: 7.922 kB / 242.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.02976, allocations: 40 kB / 242.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.02978, allocations: 27.98 kB / 242.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.03016, allocations: 229.8 kB / 242.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.03355, allocations: 2.972 MB / 245.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.03383, allocations: 170.3 kB / 245.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.03391, allocations: 60.73 kB / 245.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.03394, allocations: 8 kB / 245.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.03396, allocations: 39.03 kB / 245.7 MB, free: 7.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.03397, allocations: 7.938 kB / 245.7 MB, free: 7.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.001114/0.03508, allocations: 0.6222 MB / 246.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.03511, allocations: 59.34 kB / 246.3 MB, free: 7.191 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.0357, allocations: 0.6496 MB / 247 MB, free: 6.531 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.03572, allocations: 33.7 kB / 247 MB, free: 6.492 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.03597, allocations: 0.508 MB / 247.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.03605, allocations: 138.9 kB / 247.7 MB, free: 5.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.03617, allocations: 126.5 kB / 247.8 MB, free: 5.711 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.03631, allocations: 394.6 kB / 248.2 MB, free: 5.316 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.0364, allocations: 49.97 kB / 248.2 MB, free: 5.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.03665, allocations: 397.9 kB / 248.6 MB, free: 4.727 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.0371, allocations: 0.515 MB / 249.1 MB, free: 4.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.03711, allocations: 4 kB / 249.1 MB, free: 4.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005623/0.03767, allocations: 445.4 kB / 249.6 MB, free: 3.621 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.03769, allocations: 12.97 kB / 249.6 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.03771, allocations: 11.98 kB / 249.6 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.03783, allocations: 36.84 kB / 249.6 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.03826, allocations: 171.7 kB / 249.8 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007225/0.03898, allocations: 1.178 MB / 251 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.03931, allocations: 36.08 kB / 251 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.03934, allocations: 28 kB / 251 MB, free: 2.062 MB / 250.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.0001636/0.0395, allocations: 161.5 kB / 251.2 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.03956, allocations: 55.94 kB / 251.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.03982, allocations: 217.4 kB / 251.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.03982, allocations: 4 kB / 251.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.03982, allocations: 0 / 251.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.03983, allocations: 11.92 kB / 251.5 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009224/0.04075, allocations: 0.6678 MB / 252.1 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.04075, allocations: 0 / 252.1 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.041, allocations: 79.91 kB / 252.2 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.04115, allocations: 71.47 kB / 252.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.342e-05/0.04124, allocations: 21.06 kB / 252.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.04126, allocations: 12 kB / 252.3 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006563/0.04191, allocations: 1.163 MB / 253.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.04192, allocations: 4 kB / 253.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.04231, allocations: 392.5 kB / 253.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.04238, allocations: 15.94 kB / 253.9 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.0426, allocations: 27.92 kB / 253.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.04266, allocations: 28.12 kB / 253.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.04268, allocations: 11.98 kB / 254 MB, free: 14.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003475/0.04303, allocations: 307.4 kB / 254.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04303, allocations: 0 / 254.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006891/0.04372, allocations: 188 kB / 254.4 MB, free: 14.45 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.0002158/0.04393, allocations: 108.3 kB / 254.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.04447, allocations: 392.2 kB / 254.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.061e-05/0.0445, allocations: 14.75 kB / 254.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.04471, allocations: 223.3 kB / 255.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.04577, allocations: 1.931 MB / 257.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008622/0.05439, allocations: 1.692 MB / 258.8 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.05453, allocations: 174.6 kB / 259 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.05485, allocations: 90.3 kB / 259 MB, free: 9.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.05514, allocations: 217.2 kB / 259.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of SimCode: time 1.833e-06/0.05515, allocations: 0 / 259.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of Templates: time 0.01598/0.07112, allocations: 9.879 MB / 269.1 MB, free: 15.28 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.811689455062151]