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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008641/0.0008641, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9103/0.9103, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.863e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008928/0.008957, allocations: 7.076 MB / 331.6 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.01402, allocations: 2.485 MB / 334.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007443/0.01476, allocations: 27.88 kB / 334.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.01586, allocations: 488.8 kB / 334.6 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008283/0.01669, allocations: 448.4 kB / 335 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.01705, allocations: 235.5 kB / 335.3 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.01818, allocations: 1.285 MB / 336.5 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.01867, allocations: 338.5 kB / 336.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.01967, allocations: 0.7366 MB / 337.6 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005259/0.0202, allocations: 374.8 kB / 338 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.02031, allocations: 116 kB / 338.1 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.02055, allocations: 163.9 kB / 338.3 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.02067, allocations: 247 kB / 338.5 MB, free: 1.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.02097, allocations: 395.1 kB / 338.9 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.02223, allocations: 1.456 MB / 340.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.02223, allocations: 0 / 340.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.02223, allocations: 4 kB / 340.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.02226, allocations: 3.938 kB / 340.3 MB, free: 15.97 MB / 314.7 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.00169/0.02395, allocations: 1.248 MB / 341.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.024, allocations: 11.98 kB / 341.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.02411, allocations: 131.5 kB / 341.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004125/0.02452, allocations: 180.2 kB / 341.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008392/0.02536, allocations: 0.5797 MB / 342.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.0254, allocations: 70.38 kB / 342.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.02548, allocations: 80.38 kB / 342.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000948/0.02642, allocations: 0.8726 MB / 343.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.02645, allocations: 3.953 kB / 343.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.02649, allocations: 36 kB / 343.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.02651, allocations: 23.98 kB / 343.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.02724, allocations: 0.5426 MB / 344.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.03032, allocations: 3.06 MB / 347.2 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.03071, allocations: 241.6 kB / 347.4 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.03086, allocations: 108.8 kB / 347.5 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.03088, allocations: 4 kB / 347.5 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.0309, allocations: 30.56 kB / 347.5 MB, free: 8.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.635e-06/0.03091, allocations: 11.88 kB / 347.6 MB, free: 8.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001544/0.03245, allocations: 0.9359 MB / 348.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.03249, allocations: 85.11 kB / 348.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/0.03324, allocations: 0.7818 MB / 349.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.03326, allocations: 29.7 kB / 349.4 MB, free: 6.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.03352, allocations: 0.5228 MB / 349.9 MB, free: 6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.03359, allocations: 111.1 kB / 350 MB, free: 5.891 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.0337, allocations: 118.2 kB / 350.1 MB, free: 5.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.03384, allocations: 386.7 kB / 350.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.03402, allocations: 129.2 kB / 350.6 MB, free: 5.258 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.03435, allocations: 476.1 kB / 351.1 MB, free: 4.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.0349, allocations: 0.6138 MB / 351.7 MB, free: 3.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.0349, allocations: 4 kB / 351.7 MB, free: 3.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008063/0.03571, allocations: 0.6468 MB / 352.4 MB, free: 3.215 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.03573, allocations: 8 kB / 352.4 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.03575, allocations: 12 kB / 352.4 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.0359, allocations: 36.84 kB / 352.4 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.03619, allocations: 151.7 kB / 352.6 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00096/0.03715, allocations: 1.287 MB / 353.9 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.03755, allocations: 39.94 kB / 353.9 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.03758, allocations: 32 kB / 353.9 MB, free: 1.535 MB / 314.7 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.0004046/0.03799, allocations: 249.4 kB / 354.2 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.03807, allocations: 79.48 kB / 354.3 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.03853, allocations: 334.3 kB / 354.6 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.03853, allocations: 7.984 kB / 354.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.03854, allocations: 0 / 354.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.03854, allocations: 0 / 354.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.03973, allocations: 1.042 MB / 355.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.03974, allocations: 0 / 355.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.03992, allocations: 67.89 kB / 355.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.933e-05/0.04, allocations: 24.86 kB / 355.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.04001, allocations: 11.98 kB / 355.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007506/0.04076, allocations: 1.264 MB / 357 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.04077, allocations: 7.938 kB / 357 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.04139, allocations: 0.5568 MB / 357.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.04159, allocations: 103.5 kB / 357.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.04164, allocations: 16.06 kB / 357.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.04184, allocations: 15.98 kB / 357.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.04194, allocations: 35.89 kB / 357.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.04195, allocations: 8 kB / 357.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005367/0.04249, allocations: 0.5186 MB / 358.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04249, allocations: 0 / 358.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005452/0.04303, allocations: 171.9 kB / 358.4 MB, free: 12.79 MB / 330.7 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.001133/0.04416, allocations: 1.132 MB / 359.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.04481, allocations: 473 kB / 360 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.04481, allocations: 4.125 kB / 360 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.04504, allocations: 238.4 kB / 360.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.04567, allocations: 190.3 kB / 360.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007198/0.05287, allocations: 6.448 MB / 366.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.05311, allocations: 361.3 kB / 367.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.05337, allocations: 98.16 kB / 367.3 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.05363, allocations: 316.4 kB / 367.6 MB, free: 3.039 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.05363, allocations: 0 / 367.6 MB, free: 3.039 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.0881, allocations: 17.65 MB / 385.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.766, allocations: 7.797 kB / 385.3 MB, free: 1.617 MB / 346.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,dcpm.la.i,loadInertia.phi,loadInertia.w Variables in the result:time,dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi [Calling sys.exit(0), Time elapsed: 10.124481605365872]