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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001284/0.001284, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.336/1.336, allocations: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002842, allocations: 7.984 kB / 301.5 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09676, allocations: 50.41 MB / 351.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007585/0.1044, allocations: 7.439 MB / 359.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.1089, allocations: 2.579 MB / 362 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1101, allocations: 27.88 kB / 362 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.1117, allocations: 453.6 kB / 362.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.1132, allocations: 345.5 kB / 362.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/0.1138, allocations: 187.8 kB / 363 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.1154, allocations: 1.163 MB / 364.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.1162, allocations: 471.8 kB / 364.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006703/0.1169, allocations: 402.1 kB / 365 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004763/0.1174, allocations: 453.7 kB / 365.4 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.554e-05/0.1175, allocations: 59.98 kB / 365.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.1177, allocations: 95.97 kB / 365.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1178, allocations: 163.2 kB / 365.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.1183, allocations: 0.5146 MB / 366.2 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1194, allocations: 1.366 MB / 367.6 MB, free: 3.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1194, allocations: 8 kB / 367.6 MB, free: 3.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1194, allocations: 0 / 367.6 MB, free: 3.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1194, allocations: 0 / 367.6 MB, free: 3.816 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.001783/0.1212, allocations: 1.149 MB / 368.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1213, allocations: 8.031 kB / 368.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.1214, allocations: 135.5 kB / 368.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.1219, allocations: 151.6 kB / 369.1 MB, free: 2.316 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/0.1227, allocations: 0.6337 MB / 369.7 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.1228, allocations: 66.12 kB / 369.8 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.1229, allocations: 84 kB / 369.8 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1242, allocations: 0.8301 MB / 370.7 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.1243, allocations: 7.891 kB / 370.7 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.1244, allocations: 36 kB / 370.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.1244, allocations: 20 kB / 370.7 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.1254, allocations: 0.5582 MB / 371.3 MB, free: 12 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2034/0.3289, allocations: 3.582 MB / 374.9 MB, free: 22.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.3295, allocations: 247.7 kB / 375.1 MB, free: 22.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.3298, allocations: 138.2 kB / 375.2 MB, free: 22.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.3298, allocations: 4.703 kB / 375.2 MB, free: 22.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3299, allocations: 35.94 kB / 375.3 MB, free: 22.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.745e-06/0.3299, allocations: 1.469 kB / 375.3 MB, free: 22.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002335/0.3322, allocations: 1.106 MB / 376.4 MB, free: 22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3323, allocations: 80.52 kB / 376.5 MB, free: 21.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.3333, allocations: 0.7631 MB / 377.2 MB, free: 21.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3333, allocations: 34.31 kB / 377.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.3336, allocations: 0.5117 MB / 377.8 MB, free: 21.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.3337, allocations: 109.3 kB / 377.9 MB, free: 21.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.3338, allocations: 54.86 kB / 377.9 MB, free: 21.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3339, allocations: 388.1 kB / 378.3 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.3343, allocations: 133.4 kB / 378.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.3347, allocations: 455.5 kB / 378.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.3355, allocations: 0.634 MB / 379.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.3355, allocations: 6.688 kB / 379.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001173/0.3367, allocations: 0.6566 MB / 380.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.3367, allocations: 9.781 kB / 380.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.3367, allocations: 15.73 kB / 380.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.3369, allocations: 35.62 kB / 380.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.3374, allocations: 156 kB / 380.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008766/0.3383, allocations: 1.294 MB / 381.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.3389, allocations: 50.91 kB / 381.7 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.339, allocations: 31.36 kB / 381.8 MB, free: 17.93 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.0003345/0.3393, allocations: 242.8 kB / 382 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.3394, allocations: 78.44 kB / 382.1 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007905/0.3402, allocations: 350.4 kB / 382.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3402, allocations: 2.906 kB / 382.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3402, allocations: 1.062 kB / 382.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3403, allocations: 1.547 kB / 382.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.3421, allocations: 1.128 MB / 383.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3421, allocations: 2.531 kB / 383.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.3424, allocations: 64.41 kB / 383.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.987e-05/0.3425, allocations: 22.94 kB / 383.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3425, allocations: 9.859 kB / 383.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006094/0.3432, allocations: 1.285 MB / 384.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3432, allocations: 3.594 kB / 385 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009123/0.3441, allocations: 0.5947 MB / 385.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.3443, allocations: 180.3 kB / 385.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.3444, allocations: 8.234 kB / 385.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.3447, allocations: 26.03 kB / 385.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.3448, allocations: 30.5 kB / 385.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.3448, allocations: 14.16 kB / 385.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007443/0.3456, allocations: 0.5203 MB / 386.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3456, allocations: 0 / 386.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007841/0.3464, allocations: 171.2 kB / 386.5 MB, free: 14.73 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.001264/0.3477, allocations: 1.166 MB / 387.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3487, allocations: 489.4 kB / 388.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.3487, allocations: 6.125 kB / 388.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.3491, allocations: 253.6 kB / 388.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.3503, allocations: 175.1 kB / 388.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009918/0.3603, allocations: 7.366 MB / 395.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.3607, allocations: 0.9518 MB / 396.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004342/0.3611, allocations: 97.28 kB / 397 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.3615, allocations: 316.6 kB / 397.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3615, allocations: 4 kB / 397.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1713/0.5328, allocations: 14.96 MB / 412.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.5331, allocations: 243.2 kB / 412.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/2.73, allocations: 0 / 412.5 MB, free: 10.77 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > 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