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.00197/0.00197, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001662/0.001662, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2417/0.2417, allocations: 46.93 MB / 360.8 MB, free: 4.02 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.002429/0.002429, allocations: 79.88 kB / 0.4962 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3475, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002634/0.3501, allocations: 1.214 MB / 0.5619 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.3509, allocations: 412 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.001e-05/0.3509, allocations: 0 / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.351, allocations: 0 / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.004e-05/0.351, allocations: 7.938 kB / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.3516, allocations: 67.8 kB / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.276e-05/0.3516, allocations: 0 / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.033e-05/0.3516, allocations: 0 / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.885e-05/0.3516, allocations: 4 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.3519, allocations: 51.83 kB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-06/0.3519, allocations: 0 / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.588e-05/0.3519, allocations: 4 kB / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-06/0.3519, allocations: 0 / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.19e-05/0.3519, allocations: 0 / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.935e-05/0.352, allocations: 15.78 kB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.352, allocations: 0 / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.352, allocations: 0 / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3521, allocations: 0 / 0.5624 GB, free: 2.266 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.0003202/0.3524, allocations: 238.5 kB / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3524, allocations: 16.02 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.3524, allocations: 34.75 kB / 0.5627 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3526, allocations: 4.938 kB / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.892e-05/0.3526, allocations: 106.5 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.3527, allocations: 384 / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3527, allocations: 4.375 kB / 0.5628 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.3529, allocations: 55.95 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3529, allocations: 3.938 kB / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.3529, allocations: 0 / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.3529, allocations: 0 / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.695e-05/0.3529, allocations: 7.938 kB / 0.5629 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.3532, allocations: 350.6 kB / 0.5632 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3533, allocations: 169.1 kB / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.3534, allocations: 84.17 kB / 0.5634 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.344e-05/0.3535, allocations: 79.27 kB / 0.5635 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.901e-05/0.3535, allocations: 113.8 kB / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3535, allocations: 3.938 kB / 0.5636 GB, free: 0.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.331e-05/0.3536, allocations: 29.66 kB / 0.5637 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.3537, allocations: 130.7 kB / 0.5638 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.3538, allocations: 91.83 kB / 0.5639 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3538, allocations: 29.83 kB / 0.5639 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.3538, allocations: 84.12 kB / 0.564 GB, free: 492 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-06/0.3538, allocations: 4 kB / 0.564 GB, free: 488 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.3539, allocations: 13.72 kB / 0.564 GB, free: 468 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.354, allocations: 318.8 kB / 0.5643 GB, free: 140 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.354, allocations: 4 kB / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/0.3541, allocations: 0 / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.3541, allocations: 12.83 kB / 0.5643 GB, free: 120 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.3541, allocations: 3.938 kB / 0.5643 GB, free: 116 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001148/0.3542, allocations: 37.77 kB / 0.5644 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3542, allocations: 4 kB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3542, allocations: 0 / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.3542, allocations: 0 / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.422e-05/0.3543, allocations: 4 kB / 0.5644 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.3543, allocations: 0 / 0.5644 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-06/0.3543, allocations: 0 / 0.5644 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.3543, allocations: 0 / 0.5644 GB, free: 64 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.0001279/0.3544, allocations: 193 kB / 0.5645 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.3545, allocations: 108.9 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.084e-05/0.3546, allocations: 107.8 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.723e-05/0.3546, allocations: 184.2 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001237/0.3548, allocations: 180.3 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/0.3549, allocations: 180.2 kB / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.3551, allocations: 381.2 kB / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.287e-05/0.3552, allocations: 101 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.3552, allocations: 108.9 kB / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.407e-05/0.3553, allocations: 180.3 kB / 0.566 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.3554, allocations: 176.3 kB / 0.5662 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001335/0.3556, allocations: 188.2 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.159e-05/0.3557, allocations: 180.3 kB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.3558, allocations: 311.9 kB / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.3559, allocations: 109 kB / 0.5669 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/0.356, allocations: 192.1 kB / 0.5671 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.3561, allocations: 101 kB / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3562, allocations: 188.2 kB / 0.5674 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.3562, allocations: 105 kB / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.937e-05/0.3563, allocations: 75.28 kB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3563, allocations: 0 / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.3565, allocations: 0 / 0.5676 GB, free: 12.59 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.0004984/0.357, allocations: 0.8127 MB / 0.5684 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.947e-05/0.3571, allocations: 0 / 0.5684 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3571, allocations: 4 kB / 0.5684 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.387e-06/0.3571, allocations: 4 kB / 0.5684 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3574, allocations: 455.6 kB / 0.5688 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.3579, allocations: 186.5 kB / 0.569 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.583e-05/0.3579, allocations: 55.34 kB / 0.569 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.238e-05/0.358, allocations: 0 / 0.569 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.358, allocations: 7.438 kB / 0.569 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.358, allocations: 0 / 0.569 GB, free: 10.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3873, allocations: 1.386 MB / 0.5704 GB, free: 9.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.41, allocations: 4.062 kB / 0.5704 GB, free: 9.688 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.289812657050788]