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.001917/0.001917, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002234/0.002234, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.411/1.411, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001786/0.001786, allocations: 51.91 kB / 371.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2579, allocations: 52.18 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01003/0.268, allocations: 7.05 MB / 430.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004949/0.2729, allocations: 2.442 MB / 433.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/0.2739, allocations: 23.94 kB / 433.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.2754, allocations: 483.1 kB / 433.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.2766, allocations: 432.8 kB / 434.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.2771, allocations: 215.7 kB / 434.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.2786, allocations: 1.226 MB / 435.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006124/0.2792, allocations: 350.5 kB / 436 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006312/0.2798, allocations: 498 kB / 436.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.2805, allocations: 453.7 kB / 436.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.2806, allocations: 123.9 kB / 437.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.281, allocations: 152 kB / 437.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.2812, allocations: 235.1 kB / 437.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.2817, allocations: 473.8 kB / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.2834, allocations: 1.47 MB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2834, allocations: 0 / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2834, allocations: 4 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.2834, allocations: 0 / 439.4 MB, free: 14.89 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.002338/0.2857, allocations: 1.259 MB / 440.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2857, allocations: 15.97 kB / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/0.2863, allocations: 160.1 kB / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.2874, allocations: 0.5726 MB / 441.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.2875, allocations: 58.38 kB / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.2876, allocations: 91.89 kB / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.2892, allocations: 0.8764 MB / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.2892, allocations: 0 / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.319e-05/0.2893, allocations: 36 kB / 442.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.2893, allocations: 20 kB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.2904, allocations: 0.5348 MB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004477/0.2949, allocations: 2.96 MB / 446 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.2955, allocations: 226.6 kB / 446.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.2957, allocations: 108.8 kB / 446.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.2958, allocations: 4 kB / 446.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.2958, allocations: 38.56 kB / 446.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.2958, allocations: 0 / 446.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002219/0.298, allocations: 0.9282 MB / 447.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.2981, allocations: 81.11 kB / 447.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009635/0.2991, allocations: 0.6954 MB / 448 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.2991, allocations: 33.7 kB / 448.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.2995, allocations: 0.5381 MB / 448.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.835e-05/0.2996, allocations: 115 kB / 448.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.2998, allocations: 126.2 kB / 448.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.3001, allocations: 374.8 kB / 449.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.3004, allocations: 129.2 kB / 449.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.3009, allocations: 475.9 kB / 449.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009302/0.3019, allocations: 0.6179 MB / 450.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3019, allocations: 4 kB / 450.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001261/0.3031, allocations: 0.6351 MB / 451.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.3032, allocations: 12 kB / 451.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.3032, allocations: 11.98 kB / 451.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.3033, allocations: 40.73 kB / 451.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.3038, allocations: 151.7 kB / 451.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.305, allocations: 1.265 MB / 452.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.3055, allocations: 39.92 kB / 452.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.3056, allocations: 32 kB / 452.6 MB, free: 0.8555 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.0003657/0.3059, allocations: 241.5 kB / 452.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3061, allocations: 71.53 kB / 452.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007369/0.3068, allocations: 329 kB / 453.2 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3068, allocations: 0 / 453.2 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3068, allocations: 3.984 kB / 453.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3068, allocations: 4 kB / 453.2 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.3085, allocations: 0.9279 MB / 454.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3085, allocations: 4 kB / 454.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.3088, allocations: 67.83 kB / 454.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-05/0.3089, allocations: 16.86 kB / 454.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.3089, allocations: 11.98 kB / 454.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.31, allocations: 1.241 MB / 455.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.31, allocations: 3.984 kB / 455.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.311, allocations: 0.569 MB / 456.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.3113, allocations: 91.58 kB / 456.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.3114, allocations: 11.98 kB / 456.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.3117, allocations: 24.08 kB / 456.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.3118, allocations: 27.89 kB / 456.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3118, allocations: 11.94 kB / 456.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006773/0.3125, allocations: 467 kB / 456.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3125, allocations: 0 / 456.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000716/0.3132, allocations: 164 kB / 456.9 MB, free: 12.37 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.0002013/0.3134, allocations: 119.1 kB / 457 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009689/0.3144, allocations: 475.8 kB / 457.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3144, allocations: 0 / 457.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.3148, allocations: 235.8 kB / 457.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/0.3157, allocations: 184.2 kB / 457.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.3183, allocations: 1.511 MB / 459.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3187, allocations: 368.9 kB / 459.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.3189, allocations: 47.44 kB / 459.8 MB, free: 9.344 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3189, allocations: 0 / 459.8 MB, free: 9.344 MB / 366.1 MB Notification: Performance of Templates: time 0.0208/0.3397, allocations: 13.97 MB / 473.7 MB, free: 11.41 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/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: 8.730259774718434]