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.001125/0.001125, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001105/0.001105, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.398/1.398, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 51.86 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09526, allocations: 49.44 MB / 350.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008687/0.104, allocations: 7.97 MB / 358 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004698/0.1087, allocations: 2.621 MB / 360.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.1101, allocations: 23.94 kB / 360.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.1117, allocations: 0.4969 MB / 361.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.1132, allocations: 404.8 kB / 361.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007693/0.114, allocations: 215.6 kB / 361.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.1161, allocations: 1.223 MB / 363 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.1171, allocations: 0.5331 MB / 363.5 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.1182, allocations: 474.1 kB / 364 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.1193, allocations: 0.5172 MB / 364.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.1196, allocations: 116 kB / 364.6 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004593/0.1201, allocations: 160 kB / 364.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.1203, allocations: 231.1 kB / 365 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005457/0.1208, allocations: 0.5638 MB / 365.6 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.1222, allocations: 1.444 MB / 367 MB, free: 3.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1222, allocations: 0 / 367 MB, free: 3.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1222, allocations: 0 / 367 MB, free: 3.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.1222, allocations: 0 / 367 MB, free: 3.371 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.002323/0.1246, allocations: 1.309 MB / 368.3 MB, free: 2.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1246, allocations: 11.89 kB / 368.3 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004918/0.1251, allocations: 147.6 kB / 368.5 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.126, allocations: 0.6338 MB / 369.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.126, allocations: 58.38 kB / 369.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1261, allocations: 103.8 kB / 369.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1273, allocations: 0.8184 MB / 370.1 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.1274, allocations: 11.94 kB / 370.1 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.17e-05/0.1275, allocations: 32 kB / 370.1 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.1275, allocations: 20 kB / 370.1 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1559/0.2834, allocations: 0.5347 MB / 370.7 MB, free: 25.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.2874, allocations: 3.584 MB / 374.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.2879, allocations: 240 kB / 374.5 MB, free: 23.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.2882, allocations: 119.6 kB / 374.6 MB, free: 23.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.2882, allocations: 7.203 kB / 374.6 MB, free: 23.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.2883, allocations: 41.16 kB / 374.7 MB, free: 23.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.964e-06/0.2883, allocations: 0 / 374.7 MB, free: 23.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002036/0.2903, allocations: 1.065 MB / 375.7 MB, free: 22.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.2904, allocations: 81.77 kB / 375.8 MB, free: 22.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/0.2913, allocations: 0.7635 MB / 376.6 MB, free: 22.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2913, allocations: 31.08 kB / 376.6 MB, free: 22.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.2915, allocations: 0.5127 MB / 377.1 MB, free: 21.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.2916, allocations: 114.8 kB / 377.2 MB, free: 21.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2917, allocations: 124.8 kB / 377.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.2918, allocations: 385.4 kB / 377.7 MB, free: 21.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.2921, allocations: 133.6 kB / 377.9 MB, free: 21.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.2925, allocations: 449.5 kB / 378.3 MB, free: 20.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.2931, allocations: 0.6138 MB / 378.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2932, allocations: 2.656 kB / 378.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001004/0.2942, allocations: 0.6508 MB / 379.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2942, allocations: 9.438 kB / 379.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.2942, allocations: 16.27 kB / 379.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.2944, allocations: 33.45 kB / 379.6 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.2948, allocations: 149.6 kB / 379.8 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007257/0.2956, allocations: 1.386 MB / 381.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.2961, allocations: 41.19 kB / 381.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.2961, allocations: 31.45 kB / 381.2 MB, free: 18.39 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.0002431/0.2964, allocations: 238.8 kB / 381.5 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/0.2965, allocations: 80.52 kB / 381.5 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006534/0.2971, allocations: 335.8 kB / 381.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2971, allocations: 7.734 kB / 381.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2971, allocations: 4.641 kB / 381.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2972, allocations: 2.406 kB / 381.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.2987, allocations: 1.115 MB / 383 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2987, allocations: 1.594 kB / 383 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.299, allocations: 64.59 kB / 383.1 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.194e-05/0.2991, allocations: 33.44 kB / 383.1 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.2992, allocations: 8.344 kB / 383.1 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006034/0.2998, allocations: 1.362 MB / 384.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2998, allocations: 10.19 kB / 384.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007957/0.3006, allocations: 0.5732 MB / 385 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.3008, allocations: 175.9 kB / 385.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.3009, allocations: 12.92 kB / 385.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.3012, allocations: 21.28 kB / 385.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.3013, allocations: 23.3 kB / 385.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3013, allocations: 12.42 kB / 385.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006156/0.3019, allocations: 0.5195 MB / 385.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.302, allocations: 1.406 kB / 385.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000686/0.3026, allocations: 165.7 kB / 386 MB, free: 15.11 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.0001667/0.3028, allocations: 127.3 kB / 386.1 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.3037, allocations: 0.4913 MB / 386.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3037, allocations: 1.156 kB / 386.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.3041, allocations: 245.3 kB / 386.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.3051, allocations: 196.2 kB / 387 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3072, allocations: 1.476 MB / 388.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3076, allocations: 0.9555 MB / 389.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000361/0.308, allocations: 93.27 kB / 389.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3081, allocations: 50.7 kB / 389.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3081, allocations: 4 kB / 389.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01405/0.3221, allocations: 8.423 MB / 398 MB, free: 9.23 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/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) Reference file matches