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.001126/0.001126, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001135/0.001135, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.16/1.16, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008906/0.0008906, allocations: 46.58 kB / 300.7 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07423/0.07513, allocations: 49.45 MB / 350.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008134/0.08329, allocations: 7.954 MB / 358.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003686/0.087, allocations: 2.629 MB / 360.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.08763, allocations: 23.94 kB / 360.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.08885, allocations: 0.493 MB / 361.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008953/0.08976, allocations: 400.8 kB / 361.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.0902, allocations: 215.6 kB / 361.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.09142, allocations: 1.229 MB / 363.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006492/0.09208, allocations: 0.5331 MB / 363.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.09261, allocations: 482.1 kB / 364.1 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.0932, allocations: 0.5134 MB / 364.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.09336, allocations: 116 kB / 364.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.09366, allocations: 160 kB / 364.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.09385, allocations: 235.1 kB / 365.1 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005604/0.09442, allocations: 0.5676 MB / 365.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.09563, allocations: 1.437 MB / 367.1 MB, free: 3.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.09564, allocations: 0 / 367.1 MB, free: 3.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09565, allocations: 0 / 367.1 MB, free: 3.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.09568, allocations: 0 / 367.1 MB, free: 3.301 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.002073/0.09775, allocations: 1.313 MB / 368.4 MB, free: 1.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.09779, allocations: 8.031 kB / 368.4 MB, free: 1.926 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.09795, allocations: 135.5 kB / 368.6 MB, free: 1.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/0.09841, allocations: 143.6 kB / 368.7 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.09925, allocations: 0.6299 MB / 369.3 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.09931, allocations: 70.12 kB / 369.4 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.09942, allocations: 87.89 kB / 369.5 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1266/0.226, allocations: 0.8184 MB / 370.3 MB, free: 25.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.2261, allocations: 1.688 kB / 370.3 MB, free: 25.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.2262, allocations: 34.16 kB / 370.4 MB, free: 25.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.2263, allocations: 24.94 kB / 370.4 MB, free: 25.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2274, allocations: 0.5438 MB / 370.9 MB, free: 25.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.2308, allocations: 3.583 MB / 374.5 MB, free: 23.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.2313, allocations: 241.3 kB / 374.7 MB, free: 23.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.2316, allocations: 118.8 kB / 374.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2316, allocations: 4.094 kB / 374.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.2316, allocations: 32.59 kB / 374.9 MB, free: 23.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.2316, allocations: 1.906 kB / 374.9 MB, free: 23.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001648/0.2333, allocations: 1.074 MB / 376 MB, free: 22.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.2333, allocations: 85.7 kB / 376.1 MB, free: 22.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.2341, allocations: 0.7631 MB / 376.8 MB, free: 21.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.2342, allocations: 32.11 kB / 376.8 MB, free: 21.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.2344, allocations: 0.5116 MB / 377.4 MB, free: 21.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.2344, allocations: 111.2 kB / 377.5 MB, free: 21.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2346, allocations: 122.3 kB / 377.6 MB, free: 21.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.2347, allocations: 383.1 kB / 378 MB, free: 21.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.2349, allocations: 125.6 kB / 378.1 MB, free: 21.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.2353, allocations: 455.8 kB / 378.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005848/0.2358, allocations: 0.6155 MB / 379.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2359, allocations: 4 kB / 379.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009222/0.2368, allocations: 0.6438 MB / 379.8 MB, free: 19.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2368, allocations: 16.38 kB / 379.8 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2368, allocations: 10.84 kB / 379.8 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.237, allocations: 36.72 kB / 379.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.2374, allocations: 152.7 kB / 380 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006288/0.238, allocations: 1.393 MB / 381.4 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.2384, allocations: 37.47 kB / 381.4 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.2385, allocations: 41.11 kB / 381.5 MB, free: 18.23 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.0002044/0.2387, allocations: 241.8 kB / 381.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.2388, allocations: 74.72 kB / 381.8 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/0.2394, allocations: 335.9 kB / 382.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2394, allocations: 4.375 kB / 382.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2394, allocations: 3.938 kB / 382.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2394, allocations: 7.094 kB / 382.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.2408, allocations: 1.118 MB / 383.2 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2408, allocations: 3.5 kB / 383.2 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.241, allocations: 61.98 kB / 383.3 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-05/0.2411, allocations: 23.64 kB / 383.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2411, allocations: 8.125 kB / 383.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005375/0.2417, allocations: 1.373 MB / 384.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2417, allocations: 4.312 kB / 384.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.2424, allocations: 0.5691 MB / 385.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.2426, allocations: 178 kB / 385.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/0.2427, allocations: 9.031 kB / 385.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.243, allocations: 24.36 kB / 385.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.2431, allocations: 30.23 kB / 385.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2431, allocations: 12.27 kB / 385.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00057/0.2437, allocations: 0.5203 MB / 386.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2437, allocations: 1.188 kB / 386.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005759/0.2443, allocations: 167.5 kB / 386.2 MB, free: 14.94 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.0009836/0.2453, allocations: 1.148 MB / 387.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008026/0.2461, allocations: 490.5 kB / 387.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2461, allocations: 3.938 kB / 387.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.2464, allocations: 243.9 kB / 388.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.2478, allocations: 182.2 kB / 388.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.2584, allocations: 6.922 MB / 395.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.2588, allocations: 0.9609 MB / 396.1 MB, free: 8.336 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005041/0.2594, allocations: 86.69 kB / 396.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.2598, allocations: 321.6 kB / 396.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2598, allocations: 0 / 396.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/1.296, allocations: 15.71 MB / 412.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.68, allocations: 14.02 kB / 412.3 MB, free: 10.68 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