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.001622/0.001622, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002167/0.002167, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 64.91 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.09028, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008376/0.09869, allocations: 7.99 MB / 366.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00387/0.1026, allocations: 2.652 MB / 369.5 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.1031, allocations: 23.94 kB / 369.6 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.1042, allocations: 0.497 MB / 370.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007591/0.105, allocations: 404.7 kB / 370.5 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.1054, allocations: 223.6 kB / 370.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.1065, allocations: 1.226 MB / 371.9 MB, free: 292 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1638/0.2704, allocations: 0.5333 MB / 372.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.2715, allocations: 481.9 kB / 372.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.2726, allocations: 0.5224 MB / 373.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003775/0.273, allocations: 115.3 kB / 373.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.2737, allocations: 159.9 kB / 373.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.2739, allocations: 239.5 kB / 373.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008621/0.2748, allocations: 0.5564 MB / 374.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.2768, allocations: 1.462 MB / 375.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2768, allocations: 0 / 375.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2768, allocations: 1.625 kB / 375.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.845e-05/0.2768, allocations: 1.188 kB / 375.9 MB, free: 10.75 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.00236/0.2792, allocations: 1.312 MB / 377.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2792, allocations: 10.38 kB / 377.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007116/0.28, allocations: 173.3 kB / 377.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009652/0.2809, allocations: 0.6354 MB / 378.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.281, allocations: 61.75 kB / 378.1 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2811, allocations: 96.23 kB / 378.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.2824, allocations: 0.8207 MB / 379 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.2825, allocations: 3.922 kB / 379.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.2825, allocations: 33.34 kB / 379.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.2826, allocations: 21.03 kB / 379.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.2836, allocations: 0.5418 MB / 379.6 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/0.2874, allocations: 3.548 MB / 383.2 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.2878, allocations: 241 kB / 383.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.2881, allocations: 124.7 kB / 383.6 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.2881, allocations: 2.156 kB / 383.6 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2881, allocations: 38.3 kB / 383.6 MB, free: 6.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.2882, allocations: 3.938 kB / 383.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001836/0.29, allocations: 1.073 MB / 384.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.29, allocations: 81.23 kB / 384.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.291, allocations: 0.7646 MB / 385.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.291, allocations: 30.77 kB / 385.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.2912, allocations: 0.5146 MB / 386.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.2913, allocations: 108.2 kB / 386.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.2915, allocations: 122.9 kB / 386.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.2916, allocations: 386 kB / 386.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.2918, allocations: 132.9 kB / 386.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.2922, allocations: 449.4 kB / 387.2 MB, free: 4.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.2929, allocations: 0.6093 MB / 387.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2929, allocations: 2.531 kB / 387.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001019/0.2939, allocations: 0.6462 MB / 388.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2939, allocations: 8.969 kB / 388.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.294, allocations: 10.56 kB / 388.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.2941, allocations: 35.92 kB / 388.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.2946, allocations: 155.4 kB / 388.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006879/0.2953, allocations: 1.39 MB / 390.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.2958, allocations: 40.41 kB / 390.1 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.2958, allocations: 35.25 kB / 390.2 MB, free: 2.195 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.0002591/0.2961, allocations: 248.9 kB / 390.4 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.2962, allocations: 78.94 kB / 390.5 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.2968, allocations: 328.7 kB / 390.8 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2968, allocations: 2.344 kB / 390.8 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2968, allocations: 5.062 kB / 390.8 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2968, allocations: 5.484 kB / 390.8 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.2983, allocations: 1.124 MB / 391.9 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2983, allocations: 11.44 kB / 391.9 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.2986, allocations: 59.23 kB / 392 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.215e-05/0.2986, allocations: 24.03 kB / 392 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2987, allocations: 7.406 kB / 392 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006427/0.2993, allocations: 1.369 MB / 393.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2993, allocations: 7.188 kB / 393.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.3002, allocations: 0.5761 MB / 394 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.3004, allocations: 177.2 kB / 394.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.3005, allocations: 15 kB / 394.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.3009, allocations: 22.94 kB / 394.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.301, allocations: 27.59 kB / 394.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.301, allocations: 18.22 kB / 394.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006618/0.3017, allocations: 0.5165 MB / 394.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3017, allocations: 0 / 394.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006962/0.3024, allocations: 171.4 kB / 394.9 MB, free: 14.93 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.0001831/0.3026, allocations: 121.2 kB / 395 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008472/0.3034, allocations: 487.7 kB / 395.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3034, allocations: 0 / 395.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.3038, allocations: 236.6 kB / 395.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/0.3047, allocations: 196.4 kB / 395.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.3069, allocations: 1.454 MB / 397.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3074, allocations: 0.9527 MB / 398.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.3077, allocations: 95.95 kB / 398.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3078, allocations: 50.23 kB / 398.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3078, allocations: 4 kB / 398.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of Templates: time 0.01586/0.3237, allocations: 8.443 MB / 406.9 MB, free: 7.777 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 -s cvode -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