Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 190.9 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 43.92 kB / 370.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2543, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009765/0.264, allocations: 7.046 MB / 430.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004662/0.2687, allocations: 2.442 MB / 432.6 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006475/0.2694, allocations: 23.94 kB / 432.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.2707, allocations: 478.7 kB / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.2718, allocations: 440.7 kB / 433.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.2722, allocations: 215.7 kB / 433.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.2737, allocations: 1.23 MB / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006321/0.2743, allocations: 338.5 kB / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007499/0.275, allocations: 494.1 kB / 435.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007321/0.2758, allocations: 457.6 kB / 436.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.2759, allocations: 116 kB / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.2763, allocations: 160 kB / 436.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.2765, allocations: 239.1 kB / 436.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.277, allocations: 470 kB / 437.2 MB, free: 332 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.2789, allocations: 1.474 MB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2789, allocations: 3.938 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2789, allocations: 0 / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.2789, allocations: 0 / 438.6 MB, free: 14.84 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.002489/0.2814, allocations: 1.26 MB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2814, allocations: 8.031 kB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000505/0.2819, allocations: 160.1 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.2831, allocations: 0.5765 MB / 440.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/0.2832, allocations: 62.38 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.2833, allocations: 91.89 kB / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.2848, allocations: 0.8647 MB / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.2848, allocations: 11.94 kB / 441.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.2849, allocations: 36 kB / 441.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.2849, allocations: 20 kB / 441.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.286, allocations: 0.5387 MB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.2903, allocations: 2.944 MB / 445.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.2909, allocations: 238.6 kB / 445.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.2912, allocations: 112.7 kB / 445.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.2912, allocations: 8 kB / 445.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.2912, allocations: 30.56 kB / 445.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/0.2912, allocations: 0 / 445.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002115/0.2933, allocations: 0.9282 MB / 446.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.2934, allocations: 81.11 kB / 446.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/0.2943, allocations: 0.6915 MB / 447.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2944, allocations: 29.7 kB / 447.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.2948, allocations: 0.5342 MB / 447.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.2949, allocations: 127 kB / 448 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.2951, allocations: 122.2 kB / 448.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.2953, allocations: 374.8 kB / 448.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.2956, allocations: 133.2 kB / 448.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.2961, allocations: 472 kB / 449 MB, free: 3.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.297, allocations: 0.6218 MB / 449.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2971, allocations: 0 / 449.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001164/0.2982, allocations: 0.6342 MB / 450.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.2982, allocations: 8.969 kB / 450.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.2983, allocations: 12 kB / 450.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.2985, allocations: 44.78 kB / 450.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.299, allocations: 151.7 kB / 450.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.3001, allocations: 1.257 MB / 451.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.3006, allocations: 44.09 kB / 451.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.3006, allocations: 32 kB / 451.8 MB, free: 0.8164 MB / 350.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.0003143/0.3009, allocations: 237.5 kB / 452.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3011, allocations: 75.47 kB / 452.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.3017, allocations: 333 kB / 452.5 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3017, allocations: 8 kB / 452.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.3017, allocations: 0 / 452.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3017, allocations: 0 / 452.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.3033, allocations: 0.9249 MB / 453.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3033, allocations: 3.938 kB / 453.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.3036, allocations: 68.12 kB / 453.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.959e-05/0.3036, allocations: 24.78 kB / 453.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.3037, allocations: 8 kB / 453.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.3047, allocations: 1.244 MB / 454.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3047, allocations: 4.031 kB / 454.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.3056, allocations: 0.573 MB / 455.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.3058, allocations: 87.58 kB / 455.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/0.3059, allocations: 8 kB / 455.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.3062, allocations: 19.98 kB / 455.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.3063, allocations: 31.89 kB / 455.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3063, allocations: 12 kB / 455.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006047/0.3069, allocations: 467 kB / 455.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3069, allocations: 0 / 455.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006485/0.3075, allocations: 164 kB / 456.1 MB, free: 12.33 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.0002001/0.3077, allocations: 123.1 kB / 456.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008847/0.3086, allocations: 476.2 kB / 456.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3086, allocations: 0 / 456.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.309, allocations: 230.5 kB / 456.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/0.3098, allocations: 185.8 kB / 457.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.3122, allocations: 1.481 MB / 458.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3126, allocations: 365 kB / 458.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002935/0.3129, allocations: 89.55 kB / 459 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.313, allocations: 47.42 kB / 459.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.313, allocations: 0 / 459.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of Templates: time 0.01855/0.3315, allocations: 9.488 MB / 468.6 MB, free: 15.96 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.07954496704042]