Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000876/0.000876, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003957/0.003957, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8125/0.8125, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.368e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1421/0.1421, allocations: 6.999 MB / 305.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.1448, allocations: 2.443 MB / 307.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.1451, allocations: 23.22 kB / 307.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00086/0.146, allocations: 499.7 kB / 308.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.1465, allocations: 450.6 kB / 308.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1467, allocations: 219.4 kB / 309.1 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007454/0.1475, allocations: 1.282 MB / 310.3 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.1479, allocations: 342 kB / 310.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.1484, allocations: 0.7281 MB / 311.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.1488, allocations: 385 kB / 311.8 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1489, allocations: 115.6 kB / 311.9 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.1491, allocations: 150.5 kB / 312 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1492, allocations: 242.7 kB / 312.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.1495, allocations: 397 kB / 312.7 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.1505, allocations: 1.461 MB / 314.1 MB, free: 7.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1505, allocations: 0 / 314.1 MB, free: 7.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1506, allocations: 0 / 314.1 MB, free: 7.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1506, allocations: 2.062 kB / 314.1 MB, free: 7.715 MB / 282.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.001281/0.1518, allocations: 1.256 MB / 315.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1519, allocations: 12.8 kB / 315.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.152, allocations: 131.1 kB / 315.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.1522, allocations: 155.4 kB / 315.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.1529, allocations: 0.5825 MB / 316.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.153, allocations: 63.66 kB / 316.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.153, allocations: 92.38 kB / 316.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.1539, allocations: 0.8757 MB / 317.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.154, allocations: 2.812 kB / 317.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.154, allocations: 32.45 kB / 317.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.154, allocations: 20.47 kB / 317.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.1547, allocations: 0.5467 MB / 317.9 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.1571, allocations: 3.055 MB / 320.9 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.1575, allocations: 230.3 kB / 321.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1576, allocations: 111.4 kB / 321.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1576, allocations: 6.188 kB / 321.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.1576, allocations: 46.66 kB / 321.3 MB, free: 3.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.1576, allocations: 0 / 321.3 MB, free: 3.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001292/0.1589, allocations: 0.9284 MB / 322.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.159, allocations: 88.52 kB / 322.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.1597, allocations: 0.7786 MB / 323.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1597, allocations: 30.92 kB / 323.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1598, allocations: 0.5232 MB / 323.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.1599, allocations: 116.8 kB / 323.8 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.16, allocations: 120.1 kB / 323.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.16, allocations: 386.3 kB / 324.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1602, allocations: 134.7 kB / 324.4 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.1605, allocations: 480.3 kB / 324.9 MB, free: 400 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.161, allocations: 0.6065 MB / 325.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.161, allocations: 3.5 kB / 325.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007518/0.1617, allocations: 0.6431 MB / 326.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1618, allocations: 18.45 kB / 326.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1618, allocations: 10.88 kB / 326.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.1619, allocations: 31.48 kB / 326.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.1622, allocations: 160.3 kB / 326.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007518/0.1629, allocations: 1.281 MB / 327.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.1632, allocations: 38.19 kB / 327.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.1632, allocations: 39.88 kB / 327.7 MB, free: 14.07 MB / 298.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.0002474/0.1635, allocations: 242.2 kB / 327.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.1636, allocations: 79.14 kB / 328 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.1641, allocations: 329.4 kB / 328.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1641, allocations: 2.344 kB / 328.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.1641, allocations: 1.812 kB / 328.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1641, allocations: 0 / 328.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.1653, allocations: 1.028 MB / 329.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.1654, allocations: 6.734 kB / 329.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.1655, allocations: 58.12 kB / 329.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.358e-05/0.1656, allocations: 25.03 kB / 329.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1656, allocations: 8.156 kB / 329.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006785/0.1663, allocations: 1.262 MB / 330.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1663, allocations: 6.094 kB / 330.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.1669, allocations: 0.579 MB / 331.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.1671, allocations: 101.5 kB / 331.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/0.1671, allocations: 15.25 kB / 331.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.1673, allocations: 23.28 kB / 331.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.1674, allocations: 25.91 kB / 331.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1674, allocations: 15.2 kB / 331.5 MB, free: 11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005233/0.1679, allocations: 0.5118 MB / 332 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1679, allocations: 0 / 332 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005209/0.1684, allocations: 171.6 kB / 332.2 MB, free: 10.7 MB / 298.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.00103/0.1694, allocations: 1.131 MB / 333.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000575/0.17, allocations: 467.5 kB / 333.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.17, allocations: 0 / 333.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.1702, allocations: 239.3 kB / 334 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.1709, allocations: 201.1 kB / 334.2 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006672/0.1775, allocations: 6.471 MB / 340.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1778, allocations: 357.3 kB / 341 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.178, allocations: 98.14 kB / 341.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.1783, allocations: 316.4 kB / 341.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1783, allocations: 0 / 341.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.2121, allocations: 17.65 MB / 359.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.725, allocations: 7.922 kB / 359.1 MB, free: 0.5234 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.392526226118207]