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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 198.5 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 55.91 kB / 366.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1595, allocations: 52.13 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01105/0.1705, allocations: 8.002 MB / 426.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.1767, allocations: 2.625 MB / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.1777, allocations: 27.88 kB / 429.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.1795, allocations: 0.5243 MB / 429.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.181, allocations: 428.8 kB / 430.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.1816, allocations: 215.6 kB / 430.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.1834, allocations: 1.237 MB / 431.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007233/0.1841, allocations: 377.9 kB / 431.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007448/0.1848, allocations: 494.1 kB / 432.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.1856, allocations: 0.5211 MB / 432.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.1858, allocations: 116 kB / 433 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.1861, allocations: 152 kB / 433.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.1863, allocations: 239.1 kB / 433.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005847/0.1869, allocations: 0.5638 MB / 434 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.189, allocations: 1.459 MB / 435.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.189, allocations: 0 / 435.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.189, allocations: 0 / 435.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.189, allocations: 4 kB / 435.4 MB, free: 11.56 MB / 366.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.002717/0.1917, allocations: 1.335 MB / 436.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.1918, allocations: 16.03 kB / 436.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.949e-05/0.1918, allocations: 22.19 kB / 436.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.192, allocations: 131.5 kB / 436.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/0.1925, allocations: 156.1 kB / 437.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1938, allocations: 0.6499 MB / 437.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.1938, allocations: 65.94 kB / 437.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.194, allocations: 87.95 kB / 437.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.1955, allocations: 0.8223 MB / 438.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.1955, allocations: 3.984 kB / 438.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.1956, allocations: 36 kB / 438.7 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.1956, allocations: 24 kB / 438.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.1967, allocations: 0.5387 MB / 439.3 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/0.2019, allocations: 3.556 MB / 442.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.2025, allocations: 235 kB / 443.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.2028, allocations: 113.5 kB / 443.2 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.2028, allocations: 4 kB / 443.2 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.2029, allocations: 38.5 kB / 443.2 MB, free: 3.355 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/0.2029, allocations: 3.938 kB / 443.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002478/0.2054, allocations: 1.096 MB / 444.3 MB, free: 2.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.2054, allocations: 81.11 kB / 444.4 MB, free: 2.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.2065, allocations: 0.7624 MB / 445.2 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.2066, allocations: 29.7 kB / 445.2 MB, free: 1.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/0.2071, allocations: 0.5306 MB / 445.7 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.2072, allocations: 111.1 kB / 445.9 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.2074, allocations: 130.2 kB / 446 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.2076, allocations: 378.8 kB / 446.3 MB, free: 120 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2329/0.4405, allocations: 125.3 kB / 446.5 MB, free: 29.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.4411, allocations: 446.9 kB / 446.9 MB, free: 29.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.4418, allocations: 0.6071 MB / 447.5 MB, free: 29.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4418, allocations: 7.594 kB / 447.5 MB, free: 29.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001114/0.4429, allocations: 0.6456 MB / 448.2 MB, free: 29.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4429, allocations: 15.91 kB / 448.2 MB, free: 29.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.4429, allocations: 8.531 kB / 448.2 MB, free: 29.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.4431, allocations: 34.84 kB / 448.2 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.4435, allocations: 154.8 kB / 448.4 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007667/0.4443, allocations: 1.384 MB / 449.8 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.4448, allocations: 48.77 kB / 449.8 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.4449, allocations: 34.5 kB / 449.8 MB, free: 27.7 MB / 366.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.0003162/0.4452, allocations: 242.4 kB / 450.1 MB, free: 27.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4453, allocations: 79.5 kB / 450.2 MB, free: 27.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006369/0.4459, allocations: 338.2 kB / 450.5 MB, free: 27.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4459, allocations: 1.156 kB / 450.5 MB, free: 27.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.4459, allocations: 3.625 kB / 450.5 MB, free: 27.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4459, allocations: 1.312 kB / 450.5 MB, free: 27.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.4474, allocations: 1.113 MB / 451.6 MB, free: 27.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4474, allocations: 5.969 kB / 451.6 MB, free: 27.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.4477, allocations: 66.61 kB / 451.7 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.385e-05/0.4477, allocations: 21.83 kB / 451.7 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.4477, allocations: 9.906 kB / 451.7 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005857/0.4483, allocations: 1.374 MB / 453.1 MB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4483, allocations: 0 / 453.1 MB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.4491, allocations: 0.5739 MB / 453.7 MB, free: 25.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.4493, allocations: 181.2 kB / 453.8 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.491e-05/0.4493, allocations: 13.42 kB / 453.8 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.4497, allocations: 30.84 kB / 453.9 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.4497, allocations: 24.86 kB / 453.9 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.4497, allocations: 15 kB / 453.9 MB, free: 25.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006699/0.4504, allocations: 0.5124 MB / 454.4 MB, free: 25.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4504, allocations: 0 / 454.4 MB, free: 25.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007004/0.4511, allocations: 175.1 kB / 454.6 MB, free: 25.34 MB / 366.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.001174/0.4523, allocations: 1.147 MB / 455.7 MB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009236/0.4532, allocations: 478.1 kB / 456.2 MB, free: 24.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4532, allocations: 0 / 456.2 MB, free: 24.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.4536, allocations: 237.1 kB / 456.4 MB, free: 24.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/0.4545, allocations: 190.6 kB / 456.6 MB, free: 24.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008554/0.463, allocations: 6.523 MB / 463.2 MB, free: 20.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.4635, allocations: 0.9521 MB / 464.1 MB, free: 19.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.464, allocations: 91.97 kB / 464.2 MB, free: 19.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.4643, allocations: 316.3 kB / 464.5 MB, free: 19.36 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4643, allocations: 1.562 kB / 464.5 MB, free: 19.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04967/0.514, allocations: 16.23 MB / 480.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.76, allocations: 8.141 kB / 480.7 MB, free: 13.75 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.539454545010813]