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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 240.9 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.000962, allocations: 105.1 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009525/0.0009529, allocations: 39.94 kB / 350 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.244, allocations: 49.43 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006448/0.2505, allocations: 7.929 MB / 407.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.2542, allocations: 2.587 MB / 410 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008597/0.2551, allocations: 27.94 kB / 410 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.2562, allocations: 457.6 kB / 410.5 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006499/0.2569, allocations: 345.5 kB / 410.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.2572, allocations: 191.8 kB / 411 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007007/0.2579, allocations: 1.188 MB / 412.2 MB, free: 20.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.2584, allocations: 467.8 kB / 412.6 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.2587, allocations: 442 kB / 413.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.2591, allocations: 0.4977 MB / 413.6 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.2592, allocations: 72 kB / 413.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.2595, allocations: 116 kB / 413.8 MB, free: 19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.2596, allocations: 191.2 kB / 413.9 MB, free: 18.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.2599, allocations: 0.5285 MB / 414.5 MB, free: 18.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008134/0.2607, allocations: 1.398 MB / 415.9 MB, free: 16.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2607, allocations: 7.984 kB / 415.9 MB, free: 16.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2607, allocations: 0 / 415.9 MB, free: 16.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.2607, allocations: 3.938 kB / 415.9 MB, free: 16.87 MB / 298.7 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.001743/0.2625, allocations: 1.305 MB / 417.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2625, allocations: 8.031 kB / 417.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/0.2629, allocations: 159.6 kB / 417.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.2637, allocations: 0.626 MB / 418 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.2637, allocations: 62.38 kB / 418 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2638, allocations: 91.84 kB / 418.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.265, allocations: 0.8223 MB / 418.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.265, allocations: 4 kB / 418.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.2651, allocations: 39.94 kB / 419 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.2651, allocations: 20 kB / 419 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008655/0.266, allocations: 0.5465 MB / 419.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.2691, allocations: 3.578 MB / 423.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.2695, allocations: 242.6 kB / 423.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.2698, allocations: 120.8 kB / 423.5 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.2698, allocations: 4 kB / 423.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.2698, allocations: 38.5 kB / 423.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.964e-06/0.2698, allocations: 0 / 423.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.00168/0.2715, allocations: 1.07 MB / 424.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.2715, allocations: 85.05 kB / 424.7 MB, free: 7.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.2723, allocations: 0.7585 MB / 425.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.2723, allocations: 29.7 kB / 425.5 MB, free: 6.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.2725, allocations: 0.5136 MB / 426 MB, free: 6.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.2725, allocations: 114.4 kB / 426.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.2727, allocations: 122.1 kB / 426.2 MB, free: 6.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.2728, allocations: 378.8 kB / 426.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.273, allocations: 133.2 kB / 426.7 MB, free: 5.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.2734, allocations: 446.2 kB / 427.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.274, allocations: 0.615 MB / 427.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.274, allocations: 4 kB / 427.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009073/0.2749, allocations: 0.6461 MB / 428.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.275, allocations: 12 kB / 428.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.275, allocations: 19.88 kB / 428.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.2751, allocations: 28.86 kB / 428.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.2755, allocations: 151.7 kB / 428.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006856/0.2762, allocations: 1.296 MB / 429.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.2767, allocations: 48.05 kB / 430 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.2768, allocations: 32 kB / 430 MB, free: 1.781 MB / 298.7 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.00024/0.277, allocations: 245.5 kB / 430.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.2771, allocations: 75.06 kB / 430.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005685/0.2777, allocations: 326 kB / 430.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2777, allocations: 4 kB / 430.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2777, allocations: 0 / 430.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2777, allocations: 7.984 kB / 430.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.279, allocations: 1.121 MB / 431.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.2791, allocations: 4 kB / 431.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.2793, allocations: 59.84 kB / 431.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.2794, allocations: 29.06 kB / 431.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.2795, allocations: 8 kB / 431.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008272/0.2803, allocations: 1.272 MB / 433.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2803, allocations: 7.969 kB / 433.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/0.2846, allocations: 3.941 MB / 437.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.2848, allocations: 180.2 kB / 437.3 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.2849, allocations: 11.94 kB / 437.3 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.2852, allocations: 19.98 kB / 437.3 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.2853, allocations: 19.97 kB / 437.3 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.2853, allocations: 16.09 kB / 437.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006288/0.286, allocations: 0.5186 MB / 437.8 MB, free: 9.363 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.286, allocations: 0 / 437.8 MB, free: 9.363 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008148/0.2868, allocations: 244 kB / 438.1 MB, free: 9.125 MB / 314.7 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.0001896/0.287, allocations: 115.2 kB / 438.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008578/0.2879, allocations: 480 kB / 438.7 MB, free: 8.523 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2879, allocations: 0 / 438.7 MB, free: 8.523 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.2882, allocations: 243.7 kB / 438.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2893, allocations: 186 kB / 439.1 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.2918, allocations: 2.148 MB / 441.2 MB, free: 5.875 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.2923, allocations: 0.9645 MB / 442.2 MB, free: 4.883 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003633/0.2927, allocations: 98.16 kB / 442.3 MB, free: 4.785 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2928, allocations: 47.44 kB / 442.3 MB, free: 4.738 MB / 314.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2928, allocations: 0 / 442.3 MB, free: 4.738 MB / 314.7 MB Notification: Performance of Templates: time 0.01484/0.3077, allocations: 8.578 MB / 450.9 MB, free: 12.26 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches