Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009237/0.0009236, allocations: 93.67 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009872/0.0009873, allocations: 203.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002413/0.0002413, allocations: 8 kB / 308.4 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08803, allocations: 51.53 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007553/0.09562, allocations: 7.461 MB / 367.4 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004178/0.09984, allocations: 2.61 MB / 370 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007651/0.1006, allocations: 23.94 kB / 370 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.102, allocations: 445.7 kB / 370.4 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.1031, allocations: 349.5 kB / 370.8 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.1036, allocations: 183.8 kB / 371 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.1049, allocations: 1.171 MB / 372.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006703/0.1056, allocations: 463.8 kB / 372.6 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.1062, allocations: 418 kB / 373 MB, free: 96 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1583/0.2645, allocations: 446.2 kB / 373.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.2649, allocations: 55.69 kB / 373.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.2654, allocations: 96.41 kB / 373.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.2656, allocations: 168.3 kB / 373.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009282/0.2666, allocations: 0.5219 MB / 374.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.2684, allocations: 1.134 MB / 375.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2685, allocations: 1.688 kB / 375.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2685, allocations: 0 / 375.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.051e-05/0.2685, allocations: 5.625 kB / 375.4 MB, free: 10.48 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.002739/0.2713, allocations: 1.151 MB / 376.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2713, allocations: 9.391 kB / 376.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2724, allocations: 185.2 kB / 376.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.2737, allocations: 0.6276 MB / 377.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.2738, allocations: 62.72 kB / 377.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.274, allocations: 91.56 kB / 377.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.2757, allocations: 0.8284 MB / 378.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.2757, allocations: 1.375 kB / 378.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.638e-05/0.2758, allocations: 34.53 kB / 378.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.2759, allocations: 25.33 kB / 378.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.2772, allocations: 0.5544 MB / 379 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.2822, allocations: 3.597 MB / 382.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.2828, allocations: 250.7 kB / 382.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.283, allocations: 127.5 kB / 382.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.2831, allocations: 3.562 kB / 382.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2831, allocations: 37.27 kB / 383 MB, free: 7.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.134e-06/0.2831, allocations: 0 / 383 MB, free: 7.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002274/0.2854, allocations: 1.109 MB / 384.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.2855, allocations: 86.91 kB / 384.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.2865, allocations: 0.7627 MB / 384.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2865, allocations: 36.33 kB / 385 MB, free: 6.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.2868, allocations: 0.5123 MB / 385.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.2868, allocations: 106.3 kB / 385.6 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.2869, allocations: 55.58 kB / 385.6 MB, free: 6.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.287, allocations: 387.1 kB / 386 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.2873, allocations: 132.2 kB / 386.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.2878, allocations: 462.3 kB / 386.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007646/0.2885, allocations: 0.6241 MB / 387.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.2885, allocations: 3.5 kB / 387.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0012/0.2898, allocations: 0.6581 MB / 387.9 MB, free: 4.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.2898, allocations: 13.44 kB / 387.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.2898, allocations: 11.5 kB / 387.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.29, allocations: 34.73 kB / 387.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.2905, allocations: 158.8 kB / 388.1 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007428/0.2912, allocations: 1.298 MB / 389.4 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/0.2919, allocations: 52.67 kB / 389.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.2919, allocations: 31.59 kB / 389.5 MB, free: 3.105 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.0003111/0.2922, allocations: 245.2 kB / 389.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.2924, allocations: 83.09 kB / 389.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.293, allocations: 348.2 kB / 390.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.293, allocations: 3.969 kB / 390.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.293, allocations: 2.625 kB / 390.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2931, allocations: 3.109 kB / 390.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.2946, allocations: 1.13 MB / 391.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2946, allocations: 5.812 kB / 391.3 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.2949, allocations: 63.23 kB / 391.3 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.839e-05/0.295, allocations: 35.55 kB / 391.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.295, allocations: 8.188 kB / 391.4 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005603/0.2956, allocations: 1.277 MB / 392.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2956, allocations: 2.5 kB / 392.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/0.2965, allocations: 0.5927 MB / 393.3 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.2967, allocations: 177 kB / 393.4 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.2968, allocations: 7.906 kB / 393.4 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.2971, allocations: 32.73 kB / 393.5 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.2972, allocations: 31.06 kB / 393.5 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.2972, allocations: 16.36 kB / 393.5 MB, free: 192 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006579/0.2979, allocations: 0.5159 MB / 394 MB, free: 15.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2979, allocations: 0 / 394 MB, free: 15.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007377/0.2986, allocations: 166.6 kB / 394.2 MB, free: 15.95 MB / 318.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.000184/0.2988, allocations: 115.7 kB / 394.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009037/0.2997, allocations: 494.5 kB / 394.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2998, allocations: 4.062 kB / 394.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.3002, allocations: 255.9 kB / 395.1 MB, free: 15.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3013, allocations: 177.4 kB / 395.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.304, allocations: 1.933 MB / 397.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.3046, allocations: 0.9523 MB / 398.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.3048, allocations: 51.44 kB / 398.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3048, allocations: 0 / 398.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of Templates: time 0.01957/0.3243, allocations: 13.67 MB / 411.8 MB, free: 3.324 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches