Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 118.6 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001806/0.001806, allocations: 211.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 227.7 MB / 247.9 MB, free: 10.26 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.91 kB / 359.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2463, allocations: 50.53 MB / 410.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01008/0.2564, allocations: 8.008 MB / 418.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005015/0.2614, allocations: 2.66 MB / 420.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009103/0.2623, allocations: 20 kB / 420.9 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2639, allocations: 0.5242 MB / 421.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.2651, allocations: 432.8 kB / 421.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.2657, allocations: 215.6 kB / 422.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.2674, allocations: 1.234 MB / 423.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/0.268, allocations: 370 kB / 423.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007539/0.2688, allocations: 494 kB / 424.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.2694, allocations: 0.525 MB / 424.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.2696, allocations: 116 kB / 424.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.2699, allocations: 152 kB / 424.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.2701, allocations: 239.2 kB / 425.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005636/0.2706, allocations: 0.5676 MB / 425.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.2724, allocations: 1.471 MB / 427.2 MB, free: 420 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2724, allocations: 0 / 427.2 MB, free: 420 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2724, allocations: 0 / 427.2 MB, free: 420 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.2724, allocations: 0 / 427.2 MB, free: 420 kB / 334.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.00237/0.2748, allocations: 1.324 MB / 428.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2748, allocations: 15.97 kB / 428.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/0.2755, allocations: 176.2 kB / 428.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.2767, allocations: 0.6576 MB / 429.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.2767, allocations: 66.38 kB / 429.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.2769, allocations: 83.94 kB / 429.5 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.2783, allocations: 0.8184 MB / 430.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.2783, allocations: 7.953 kB / 430.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.412e-05/0.2784, allocations: 35.98 kB / 430.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2784, allocations: 20 kB / 430.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2795, allocations: 0.5426 MB / 430.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004676/0.2841, allocations: 3.56 MB / 434.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.2847, allocations: 222.7 kB / 434.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.2849, allocations: 112.8 kB / 434.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.285, allocations: 4 kB / 434.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.285, allocations: 34.56 kB / 434.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.285, allocations: 0 / 434.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002244/0.2872, allocations: 1.106 MB / 436 MB, free: 7.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.2873, allocations: 85.05 kB / 436 MB, free: 7.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.2883, allocations: 0.7547 MB / 436.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.2884, allocations: 29.7 kB / 436.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.2888, allocations: 0.5306 MB / 437.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.2889, allocations: 115 kB / 437.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.2891, allocations: 122.2 kB / 437.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.2893, allocations: 382.8 kB / 438 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.2896, allocations: 125.2 kB / 438.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.2901, allocations: 454.2 kB / 438.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009025/0.291, allocations: 0.6177 MB / 439.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.291, allocations: 4 kB / 439.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001236/0.2923, allocations: 0.6504 MB / 439.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.2923, allocations: 8 kB / 439.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.2923, allocations: 19.88 kB / 439.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.2925, allocations: 32.84 kB / 439.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.293, allocations: 148.2 kB / 440 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.2942, allocations: 1.394 MB / 441.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.2947, allocations: 39.94 kB / 441.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.2947, allocations: 35.98 kB / 441.5 MB, free: 1.164 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.000354/0.2951, allocations: 245.9 kB / 441.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2952, allocations: 79.48 kB / 441.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007178/0.2959, allocations: 338 kB / 442.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2959, allocations: 4 kB / 442.1 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2959, allocations: 0 / 442.1 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2959, allocations: 7.938 kB / 442.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.2977, allocations: 1.111 MB / 443.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.2977, allocations: 4 kB / 443.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.298, allocations: 68.11 kB / 443.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.2981, allocations: 20.84 kB / 443.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.2982, allocations: 8 kB / 443.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.2993, allocations: 1.367 MB / 444.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2993, allocations: 4 kB / 444.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3004, allocations: 0.5762 MB / 445.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.3007, allocations: 188.6 kB / 445.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/0.3007, allocations: 11.98 kB / 445.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.3011, allocations: 19.98 kB / 445.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/0.3012, allocations: 27.91 kB / 445.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3012, allocations: 8 kB / 445.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007505/0.3019, allocations: 0.5186 MB / 446.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3019, allocations: 4 kB / 446.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007766/0.3027, allocations: 175.9 kB / 446.2 MB, free: 12.09 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.0002508/0.303, allocations: 115.1 kB / 446.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.304, allocations: 476.6 kB / 446.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.304, allocations: 4.062 kB / 446.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.3044, allocations: 234.5 kB / 447 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.3054, allocations: 197.1 kB / 447.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.3082, allocations: 1.491 MB / 448.7 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.309, allocations: 0.9526 MB / 449.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.3093, allocations: 94.16 kB / 449.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.3094, allocations: 51.44 kB / 449.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3094, allocations: 0 / 449.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of Templates: time 0.01959/0.329, allocations: 8.675 MB / 458.5 MB, free: 15.83 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches