Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001819/0.001819, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 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.002434/0.002434, allocations: 212.6 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.92 MB / 360.8 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003385/0.003385, allocations: 76.2 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3498, allocations: 66.09 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002509/0.3523, allocations: 1.21 MB / 0.5619 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009233/0.3532, allocations: 423.9 kB / 0.5623 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.3533, allocations: 4 kB / 0.5623 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.3533, allocations: 0 / 0.5623 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.816e-05/0.3533, allocations: 0 / 0.5623 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.3538, allocations: 79.73 kB / 0.5624 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.3539, allocations: 0 / 0.5624 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.3539, allocations: 3.984 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.3539, allocations: 7.938 kB / 0.5624 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.3541, allocations: 39.95 kB / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-06/0.3541, allocations: 0 / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.745e-05/0.3542, allocations: 4 kB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-06/0.3542, allocations: 0 / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.3542, allocations: 0 / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.041e-05/0.3543, allocations: 23.77 kB / 0.5625 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3543, allocations: 4 kB / 0.5625 GB, free: 2.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3543, allocations: 0 / 0.5625 GB, free: 2.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3543, allocations: 0 / 0.5625 GB, free: 2.465 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002817/0.3546, allocations: 234.5 kB / 0.5627 GB, free: 2.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3546, allocations: 15.91 kB / 0.5627 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.3547, allocations: 30.75 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.3548, allocations: 8.922 kB / 0.5628 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/0.3549, allocations: 106.5 kB / 0.5629 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-06/0.3549, allocations: 384 / 0.5629 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3549, allocations: 8.375 kB / 0.5629 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.694e-05/0.355, allocations: 26.27 kB / 0.5629 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.355, allocations: 3.938 kB / 0.5629 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.355, allocations: 0 / 0.5629 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.355, allocations: 0 / 0.5629 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.553e-05/0.355, allocations: 4 kB / 0.5629 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.3553, allocations: 358.5 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.3554, allocations: 173.1 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.3555, allocations: 80.14 kB / 0.5635 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.3555, allocations: 75.28 kB / 0.5636 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.3556, allocations: 109.8 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3556, allocations: 0 / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.087e-05/0.3556, allocations: 45.58 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.3557, allocations: 126.7 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.3558, allocations: 91.83 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3558, allocations: 25.7 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.3559, allocations: 80.14 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-06/0.3559, allocations: 4 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.3559, allocations: 9.719 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.356, allocations: 319 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.356, allocations: 0 / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.356, allocations: 4 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.3561, allocations: 12.88 kB / 0.5643 GB, free: 368 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3561, allocations: 3.938 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.955e-05/0.3562, allocations: 33.64 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3562, allocations: 8 kB / 0.5644 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3562, allocations: 0 / 0.5644 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3562, allocations: 4.094 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.921e-05/0.3562, allocations: 0 / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3563, allocations: 0 / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.3563, allocations: 4 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.3563, allocations: 0 / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.3564, allocations: 189.1 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.3565, allocations: 105 kB / 0.5647 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.3566, allocations: 115.7 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.675e-05/0.3567, allocations: 180.3 kB / 0.565 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.539e-05/0.3567, allocations: 180.2 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-05/0.3568, allocations: 180.2 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.3571, allocations: 385.2 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-05/0.3571, allocations: 101 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.3572, allocations: 105 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.129e-05/0.3573, allocations: 188.2 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.053e-05/0.3574, allocations: 184.2 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.183e-05/0.3575, allocations: 180.2 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.385e-05/0.3575, allocations: 180.3 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.3577, allocations: 311.9 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.3578, allocations: 113 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.3579, allocations: 184.2 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.358, allocations: 101 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.3581, allocations: 176.3 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.872e-05/0.3582, allocations: 116.9 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.898e-05/0.3582, allocations: 75.28 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3582, allocations: 0 / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.3585, allocations: 0 / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004526/0.3589, allocations: 0.801 MB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.443e-05/0.359, allocations: 11.92 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.359, allocations: 0 / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.359, allocations: 0 / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.3595, allocations: 459.7 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.3599, allocations: 182.7 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3602, allocations: 0.6729 MB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.469e-05/0.3602, allocations: 0 / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.3603, allocations: 11.42 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3603, allocations: 0 / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3852, allocations: 0.9955 MB / 0.5706 GB, free: 9.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.42, allocations: 2.5 kB / 0.5706 GB, free: 9.703 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.287268637912348]