Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001778/0.001778, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002208/0.002208, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.545/1.545, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 47.92 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2157, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009068/0.2248, allocations: 7.064 MB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.2284, allocations: 2.477 MB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.2288, allocations: 27.88 kB / 441.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.2299, allocations: 476.7 kB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007584/0.2307, allocations: 436.8 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.2311, allocations: 219.6 kB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.2323, allocations: 1.241 MB / 444.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.2328, allocations: 366.5 kB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006085/0.2334, allocations: 0.4942 MB / 445.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005815/0.234, allocations: 0.5134 MB / 445.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.2342, allocations: 116 kB / 445.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.2344, allocations: 156 kB / 445.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.2346, allocations: 243.1 kB / 446.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.2351, allocations: 469.9 kB / 446.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.2366, allocations: 1.473 MB / 448.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2366, allocations: 4 kB / 448.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2366, allocations: 4 kB / 448.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2366, allocations: 0 / 448.1 MB, free: 6.891 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002201/0.2388, allocations: 1.26 MB / 449.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2388, allocations: 8.031 kB / 449.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007288/0.2395, allocations: 176.2 kB / 449.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.2406, allocations: 0.5842 MB / 450.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.2406, allocations: 62.38 kB / 450.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.2407, allocations: 91.94 kB / 450.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.2422, allocations: 0.8725 MB / 451.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.2423, allocations: 11.94 kB / 451.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.2424, allocations: 36 kB / 451.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.2424, allocations: 20 kB / 451.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2435, allocations: 0.5387 MB / 451.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004027/0.2475, allocations: 2.937 MB / 454.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/0.2481, allocations: 232.1 kB / 454.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.2483, allocations: 116.7 kB / 455 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2483, allocations: 7.938 kB / 455 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2484, allocations: 38.5 kB / 455 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.2484, allocations: 0 / 455 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002002/0.2504, allocations: 0.9203 MB / 456 MB, free: 14.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.2505, allocations: 85.09 kB / 456 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009424/0.2515, allocations: 0.6953 MB / 456.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.2515, allocations: 29.7 kB / 456.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.2519, allocations: 0.5381 MB / 457.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/0.252, allocations: 111 kB / 457.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.2522, allocations: 130.2 kB / 457.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.2524, allocations: 374.8 kB / 457.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.2527, allocations: 129.2 kB / 458 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.2532, allocations: 475.9 kB / 458.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009831/0.2542, allocations: 0.6177 MB / 459.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2542, allocations: 4 kB / 459.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001192/0.2554, allocations: 0.6421 MB / 459.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2554, allocations: 12.97 kB / 459.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2555, allocations: 8 kB / 459.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.2556, allocations: 40.78 kB / 459.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.2561, allocations: 159.7 kB / 460 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.2572, allocations: 1.252 MB / 461.2 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.2578, allocations: 48.05 kB / 461.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.2578, allocations: 32 kB / 461.3 MB, free: 8.836 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003073/0.2581, allocations: 241.5 kB / 461.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2582, allocations: 67.58 kB / 461.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/0.2589, allocations: 325 kB / 461.9 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2589, allocations: 0 / 461.9 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2589, allocations: 11.98 kB / 461.9 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.259, allocations: 7.969 kB / 461.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.2605, allocations: 0.9142 MB / 462.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.2605, allocations: 4 kB / 462.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.2608, allocations: 72.06 kB / 462.9 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-05/0.2609, allocations: 20.84 kB / 463 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.2609, allocations: 8 kB / 463 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009843/0.2619, allocations: 1.244 MB / 464.2 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2619, allocations: 3.938 kB / 464.2 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.2629, allocations: 0.5724 MB / 464.8 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.2631, allocations: 91.53 kB / 464.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.2632, allocations: 8 kB / 464.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.2635, allocations: 23.97 kB / 464.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.2636, allocations: 23.91 kB / 464.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.2636, allocations: 19.98 kB / 464.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006288/0.2643, allocations: 467 kB / 465.4 MB, free: 4.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2643, allocations: 0 / 465.4 MB, free: 4.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006563/0.2649, allocations: 168 kB / 465.6 MB, free: 4.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.0001866/0.2651, allocations: 115.1 kB / 465.7 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009127/0.266, allocations: 477.2 kB / 466.1 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.266, allocations: 3.938 kB / 466.2 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.2664, allocations: 241.2 kB / 466.4 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008915/0.2673, allocations: 174.9 kB / 466.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.2697, allocations: 1.486 MB / 468 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.2701, allocations: 361.1 kB / 468.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000297/0.2704, allocations: 85.55 kB / 468.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.2705, allocations: 43.44 kB / 468.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2705, allocations: 3.938 kB / 468.5 MB, free: 1.277 MB / 366.1 MB Notification: Performance of Templates: time 0.01828/0.2888, allocations: 9.699 MB / 478.2 MB, free: 7.766 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.989173009002116]