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.001115/0.001115, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.5 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 61.36 kB / 308.4 MB, free: 15.94 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1045, allocations: 50.53 MB / 358.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008961/0.1135, allocations: 7.982 MB / 366.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.1181, allocations: 2.652 MB / 369.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005957/0.1187, allocations: 23.88 kB / 369.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.12, allocations: 0.5047 MB / 370.1 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009213/0.1209, allocations: 400.8 kB / 370.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.1214, allocations: 223.6 kB / 370.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1227, allocations: 1.23 MB / 371.9 MB, free: 332 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1679/0.2906, allocations: 0.5272 MB / 372.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.2917, allocations: 483.4 kB / 372.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006551/0.2924, allocations: 0.5258 MB / 373.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.2926, allocations: 114.5 kB / 373.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.293, allocations: 157.8 kB / 373.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.2932, allocations: 234.1 kB / 373.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005047/0.2937, allocations: 0.5648 MB / 374.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.2956, allocations: 1.458 MB / 375.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.984e-06/0.2956, allocations: 0 / 375.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2956, allocations: 4.469 kB / 376 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.843e-05/0.2957, allocations: 0 / 376 MB, free: 10.7 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.002601/0.2983, allocations: 1.308 MB / 377.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2983, allocations: 10.39 kB / 377.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/0.2991, allocations: 175.3 kB / 377.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.3003, allocations: 0.64 MB / 378.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.3003, allocations: 69.75 kB / 378.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.3005, allocations: 87.19 kB / 378.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.3019, allocations: 0.8251 MB / 379.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.3019, allocations: 2.875 kB / 379.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.302, allocations: 33 kB / 379.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.302, allocations: 21.12 kB / 379.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.3031, allocations: 0.5408 MB / 379.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/0.3073, allocations: 3.549 MB / 383.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.3079, allocations: 239.3 kB / 383.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.3081, allocations: 125.9 kB / 383.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.3082, allocations: 3.812 kB / 383.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3082, allocations: 32.48 kB / 383.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.615e-06/0.3082, allocations: 2.25 kB / 383.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002049/0.3102, allocations: 1.078 MB / 384.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3103, allocations: 81.78 kB / 384.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.3113, allocations: 0.7634 MB / 385.5 MB, free: 5.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3113, allocations: 32.73 kB / 385.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.3116, allocations: 0.5148 MB / 386.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.3117, allocations: 110.7 kB / 386.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3118, allocations: 122.6 kB / 386.3 MB, free: 5.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.312, allocations: 385.6 kB / 386.7 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.3122, allocations: 126.6 kB / 386.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.3126, allocations: 452.8 kB / 387.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.3133, allocations: 0.6106 MB / 387.8 MB, free: 3.844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3133, allocations: 2.25 kB / 387.9 MB, free: 3.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001134/0.3145, allocations: 0.6456 MB / 388.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3145, allocations: 10.06 kB / 388.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.3145, allocations: 11.62 kB / 388.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.3147, allocations: 34.3 kB / 388.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.3152, allocations: 160.4 kB / 388.7 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007477/0.3159, allocations: 1.391 MB / 390.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.3165, allocations: 36.17 kB / 390.1 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.3166, allocations: 34.81 kB / 390.2 MB, free: 2.18 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.0003574/0.3169, allocations: 253.5 kB / 390.4 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.3171, allocations: 74.44 kB / 390.5 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.3177, allocations: 331.1 kB / 390.8 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3177, allocations: 3.344 kB / 390.8 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3177, allocations: 5.031 kB / 390.8 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3177, allocations: 3.891 kB / 390.8 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.3194, allocations: 1.121 MB / 391.9 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3194, allocations: 9.875 kB / 392 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.3197, allocations: 61.27 kB / 392 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.326e-05/0.3198, allocations: 25.38 kB / 392 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3199, allocations: 12.05 kB / 392.1 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007643/0.3206, allocations: 1.365 MB / 393.4 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.3206, allocations: 5.094 kB / 393.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009426/0.3216, allocations: 0.5762 MB / 394 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.3219, allocations: 177 kB / 394.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.322, allocations: 15.39 kB / 394.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.3224, allocations: 23.89 kB / 394.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.3225, allocations: 21.59 kB / 394.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.3225, allocations: 15.88 kB / 394.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007467/0.3232, allocations: 0.5174 MB / 394.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3232, allocations: 0 / 394.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008364/0.3241, allocations: 170.8 kB / 394.9 MB, free: 14.92 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.0002328/0.3243, allocations: 121.3 kB / 395 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009022/0.3252, allocations: 487 kB / 395.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3253, allocations: 1.031 kB / 395.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.3256, allocations: 241.8 kB / 395.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.3265, allocations: 194.3 kB / 396 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.3295, allocations: 1.455 MB / 397.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.3302, allocations: 0.951 MB / 398.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003721/0.3305, allocations: 96.52 kB / 398.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3307, allocations: 54.42 kB / 398.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3307, allocations: 4 kB / 398.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of Templates: time 0.01592/0.3466, allocations: 8.443 MB / 407 MB, free: 7.766 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 gbode -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