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.001761/0.001761, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002224/0.002224, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 8.23 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.001492/0.001492, allocations: 47.92 kB / 379 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2251, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.0102/0.2353, allocations: 8.043 MB / 440.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.2398, allocations: 2.672 MB / 443.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.2403, allocations: 19.94 kB / 443.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.2416, allocations: 0.5282 MB / 443.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009211/0.2425, allocations: 436.8 kB / 444.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.243, allocations: 219.5 kB / 444.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.2443, allocations: 1.234 MB / 445.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005854/0.2449, allocations: 372.2 kB / 445.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/0.2456, allocations: 0.498 MB / 446.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006663/0.2462, allocations: 0.5172 MB / 446.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.2464, allocations: 116 kB / 447 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.2467, allocations: 160 kB / 447.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.2469, allocations: 235.2 kB / 447.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.2475, allocations: 0.5637 MB / 448 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.2491, allocations: 1.474 MB / 449.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2491, allocations: 0 / 449.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2491, allocations: 0 / 449.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.2491, allocations: 0 / 449.5 MB, free: 5.805 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.002217/0.2513, allocations: 1.264 MB / 450.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2514, allocations: 12.02 kB / 450.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006863/0.2521, allocations: 176.2 kB / 450.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2531, allocations: 0.5803 MB / 451.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.2532, allocations: 70.38 kB / 451.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.2533, allocations: 83.94 kB / 451.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.2547, allocations: 0.8145 MB / 452.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.2547, allocations: 19.94 kB / 452.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/0.2548, allocations: 36 kB / 452.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.2548, allocations: 20 kB / 452.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.2559, allocations: 0.5387 MB / 453.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00467/0.2606, allocations: 3.449 MB / 456.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.2611, allocations: 226.7 kB / 456.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.2614, allocations: 108.8 kB / 456.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2614, allocations: 4 kB / 456.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.2614, allocations: 42.5 kB / 456.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.813e-06/0.2614, allocations: 4 kB / 456.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002073/0.2635, allocations: 0.9327 MB / 457.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.2636, allocations: 89.03 kB / 457.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.2646, allocations: 0.7663 MB / 458.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.2646, allocations: 33.7 kB / 458.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.265, allocations: 0.5267 MB / 459.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.2651, allocations: 107.1 kB / 459.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.2653, allocations: 126.2 kB / 459.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.2655, allocations: 386.7 kB / 459.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.2658, allocations: 129.2 kB / 460 MB, free: 10.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.2664, allocations: 446.2 kB / 460.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.2673, allocations: 0.6177 MB / 461 MB, free: 9.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.2673, allocations: 4 kB / 461 MB, free: 9.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001155/0.2684, allocations: 0.6507 MB / 461.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2684, allocations: 8 kB / 461.7 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.2685, allocations: 15.98 kB / 461.7 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.2686, allocations: 40.78 kB / 461.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.2691, allocations: 151.7 kB / 461.9 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.2702, allocations: 1.287 MB / 463.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.2707, allocations: 44.09 kB / 463.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.2707, allocations: 35.98 kB / 463.3 MB, free: 7.152 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.0003473/0.2711, allocations: 241.5 kB / 463.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2712, allocations: 79.48 kB / 463.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007024/0.2719, allocations: 334 kB / 463.9 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2719, allocations: 4 kB / 463.9 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2719, allocations: 3.938 kB / 463.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2719, allocations: 3.938 kB / 463.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.2737, allocations: 1.087 MB / 465 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2737, allocations: 4 kB / 465 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.274, allocations: 55.91 kB / 465 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.994e-05/0.2741, allocations: 29.06 kB / 465.1 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.2741, allocations: 8 kB / 465.1 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.2751, allocations: 1.283 MB / 466.4 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2751, allocations: 4 kB / 466.4 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009465/0.2761, allocations: 0.5684 MB / 466.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.2763, allocations: 111.4 kB / 467.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.64e-05/0.2764, allocations: 16 kB / 467.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.2767, allocations: 15.98 kB / 467.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.2768, allocations: 31.89 kB / 467.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2768, allocations: 11.94 kB / 467.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007274/0.2776, allocations: 0.5186 MB / 467.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2776, allocations: 0 / 467.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006784/0.2782, allocations: 179.9 kB / 467.8 MB, free: 2.332 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.0001898/0.2784, allocations: 115.2 kB / 467.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009208/0.2793, allocations: 468.9 kB / 468.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2793, allocations: 0.75 kB / 468.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.2797, allocations: 242.4 kB / 468.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.2806, allocations: 182.4 kB / 468.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.2831, allocations: 1.533 MB / 470.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.2837, allocations: 0.9487 MB / 471.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.2839, allocations: 55.44 kB / 471.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2839, allocations: 0 / 471.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of Templates: time 0.01926/0.3031, allocations: 13.96 MB / 485.3 MB, free: 0.7578 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 -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: 8.263343197992072]