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) 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001592, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009805/0.0009806, allocations: 46.33 kB / 301.3 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08703, allocations: 49.44 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009163/0.09624, allocations: 7.966 MB / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.1009, allocations: 2.633 MB / 361.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008234/0.1018, allocations: 23.94 kB / 361.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.1032, allocations: 496.9 kB / 361.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009989/0.1042, allocations: 400.8 kB / 362.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.1047, allocations: 223.6 kB / 362.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1059, allocations: 1.231 MB / 363.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.1066, allocations: 0.5292 MB / 364.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005514/0.1072, allocations: 478.1 kB / 364.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.1078, allocations: 0.5212 MB / 365.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.1079, allocations: 116 kB / 365.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.1082, allocations: 156 kB / 365.5 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.1084, allocations: 235.1 kB / 365.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004778/0.1089, allocations: 0.5677 MB / 366.3 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.1102, allocations: 1.433 MB / 367.7 MB, free: 3.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1102, allocations: 0 / 367.7 MB, free: 3.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1102, allocations: 0 / 367.7 MB, free: 3.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.1103, allocations: 0 / 367.7 MB, free: 3.348 MB / 302.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.002182/0.1124, allocations: 1.32 MB / 369 MB, free: 1.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1125, allocations: 11.89 kB / 369 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/0.113, allocations: 147.6 kB / 369.2 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009253/0.1139, allocations: 0.6299 MB / 369.8 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.114, allocations: 62.38 kB / 369.9 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.1141, allocations: 91.84 kB / 369.9 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.1154, allocations: 0.8184 MB / 370.8 MB, free: 152 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.1155, allocations: 4 kB / 370.8 MB, free: 148 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.1155, allocations: 32 kB / 370.8 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.1156, allocations: 24 kB / 370.8 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1589/0.2745, allocations: 0.5404 MB / 371.4 MB, free: 26.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.2788, allocations: 3.582 MB / 374.9 MB, free: 23.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.2794, allocations: 245.9 kB / 375.2 MB, free: 23.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.2796, allocations: 119.5 kB / 375.3 MB, free: 23.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.2797, allocations: 4.812 kB / 375.3 MB, free: 23.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2797, allocations: 40.53 kB / 375.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.2797, allocations: 0 / 375.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002098/0.2818, allocations: 1.068 MB / 376.4 MB, free: 22.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.2819, allocations: 81.23 kB / 376.5 MB, free: 22.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009314/0.2828, allocations: 0.7583 MB / 377.3 MB, free: 22.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.2828, allocations: 31.5 kB / 377.3 MB, free: 22.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.2831, allocations: 0.5146 MB / 377.8 MB, free: 21.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.2832, allocations: 116.4 kB / 377.9 MB, free: 21.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.2833, allocations: 121.8 kB / 378 MB, free: 21.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.2834, allocations: 384.1 kB / 378.4 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.2837, allocations: 129.4 kB / 378.5 MB, free: 21.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.2841, allocations: 449 kB / 379 MB, free: 20.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.2848, allocations: 0.6208 MB / 379.6 MB, free: 20.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2848, allocations: 4.125 kB / 379.6 MB, free: 20.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001106/0.2859, allocations: 0.6434 MB / 380.2 MB, free: 20.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.2859, allocations: 10.48 kB / 380.2 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.286, allocations: 11.38 kB / 380.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.2861, allocations: 37.45 kB / 380.3 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.2866, allocations: 150.4 kB / 380.4 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007723/0.2874, allocations: 1.391 MB / 381.8 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.288, allocations: 38.45 kB / 381.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.288, allocations: 31.44 kB / 381.9 MB, free: 18.68 MB / 302.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.0002987/0.2883, allocations: 243 kB / 382.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2884, allocations: 78.8 kB / 382.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006555/0.2891, allocations: 332.5 kB / 382.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2891, allocations: 3.625 kB / 382.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.2891, allocations: 3.609 kB / 382.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2891, allocations: 1.547 kB / 382.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.2908, allocations: 1.127 MB / 383.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2908, allocations: 2.25 kB / 383.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.2911, allocations: 61.84 kB / 383.7 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.86e-05/0.2912, allocations: 29.25 kB / 383.8 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.2912, allocations: 5.656 kB / 383.8 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006255/0.2918, allocations: 1.367 MB / 385.1 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2919, allocations: 7.781 kB / 385.1 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.2927, allocations: 0.5703 MB / 385.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.293, allocations: 177.8 kB / 385.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/0.2931, allocations: 12.95 kB / 385.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.2934, allocations: 19.5 kB / 385.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.2935, allocations: 26.59 kB / 385.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2935, allocations: 8.922 kB / 386 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000689/0.2942, allocations: 0.5161 MB / 386.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2943, allocations: 0 / 386.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007478/0.295, allocations: 171.3 kB / 386.6 MB, free: 15.4 MB / 302.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.0001747/0.2952, allocations: 133.7 kB / 386.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000931/0.2961, allocations: 499.4 kB / 387.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2961, allocations: 0 / 387.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.2965, allocations: 251.8 kB / 387.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2975, allocations: 192.1 kB / 387.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.2997, allocations: 1.508 MB / 389.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.3001, allocations: 0.957 MB / 390.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.3003, allocations: 54.08 kB / 390.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3003, allocations: 0 / 390.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of Templates: time 0.01625/0.3166, allocations: 13.79 MB / 404 MB, free: 4 MB / 302.1 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/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) Reference file matches