Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001748/0.001748, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.00246/0.00246, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 46.96 MB / 361.7 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 68.02 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3059, allocations: 66.03 MB / 0.5613 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002518/0.3084, allocations: 1.221 MB / 0.5625 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007827/0.3092, allocations: 404 kB / 0.5629 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.3092, allocations: 0 / 0.5629 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.3092, allocations: 4 kB / 0.5629 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.711e-05/0.3092, allocations: 0 / 0.5629 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.3097, allocations: 71.73 kB / 0.563 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.574e-05/0.3098, allocations: 7.984 kB / 0.563 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.3098, allocations: 0 / 0.563 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.3098, allocations: 3.938 kB / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.31, allocations: 39.95 kB / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.31, allocations: 0 / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.457e-05/0.3101, allocations: 11.98 kB / 0.5631 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.3101, allocations: 0 / 0.5631 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.3101, allocations: 8 kB / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.83e-05/0.3102, allocations: 11.8 kB / 0.5631 GB, free: 2.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3102, allocations: 0 / 0.5631 GB, free: 2.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3102, allocations: 0 / 0.5631 GB, free: 2.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3102, allocations: 0 / 0.5631 GB, free: 2.441 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.0002793/0.3105, allocations: 238.5 kB / 0.5633 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3105, allocations: 12.03 kB / 0.5633 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.67e-05/0.3106, allocations: 192 / 0.5633 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.3106, allocations: 34.75 kB / 0.5633 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3107, allocations: 12.88 kB / 0.5634 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.561e-05/0.3108, allocations: 102.5 kB / 0.5635 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.3108, allocations: 384 / 0.5635 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-06/0.3108, allocations: 384 / 0.5635 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.3109, allocations: 63.7 kB / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3109, allocations: 0 / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.3109, allocations: 0 / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.3109, allocations: 0 / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.3109, allocations: 4 kB / 0.5635 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.3112, allocations: 354.5 kB / 0.5639 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.3113, allocations: 185 kB / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.3114, allocations: 80.14 kB / 0.5641 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.3114, allocations: 79.28 kB / 0.5642 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.3115, allocations: 105.8 kB / 0.5643 GB, free: 1.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3115, allocations: 0 / 0.5643 GB, free: 1.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.914e-05/0.3115, allocations: 33.59 kB / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.3116, allocations: 126.7 kB / 0.5644 GB, free: 0.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.3117, allocations: 95.83 kB / 0.5645 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.3117, allocations: 25.7 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.3118, allocations: 84.14 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.3118, allocations: 4.125 kB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.3118, allocations: 17.7 kB / 0.5647 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3119, allocations: 310.8 kB / 0.565 GB, free: 324 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-06/0.3119, allocations: 32 / 0.565 GB, free: 324 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.3119, allocations: 4 kB / 0.565 GB, free: 320 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/0.312, allocations: 12.8 kB / 0.565 GB, free: 304 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.312, allocations: 0 / 0.565 GB, free: 304 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.243e-05/0.3121, allocations: 37.64 kB / 0.565 GB, free: 260 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3121, allocations: 8 kB / 0.565 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3121, allocations: 96 / 0.565 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3121, allocations: 4 kB / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.3121, allocations: 0 / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3121, allocations: 3.984 kB / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.3122, allocations: 4 kB / 0.565 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.3122, allocations: 0 / 0.565 GB, free: 240 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.0001011/0.3123, allocations: 189 kB / 0.5652 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.3124, allocations: 101 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.3124, allocations: 115.7 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.967e-05/0.3125, allocations: 176.3 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.935e-05/0.3126, allocations: 192.2 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.92e-05/0.3127, allocations: 180.3 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.3129, allocations: 369.3 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-05/0.313, allocations: 112.9 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.313, allocations: 105 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-05/0.3131, allocations: 184.2 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.3132, allocations: 180.3 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.868e-05/0.3132, allocations: 184.2 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-05/0.3133, allocations: 180.2 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.3135, allocations: 315.9 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.3135, allocations: 105 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.519e-05/0.3136, allocations: 184.3 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.3137, allocations: 116.8 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.3138, allocations: 176.3 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.3138, allocations: 108.9 kB / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.3139, allocations: 79.28 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3139, allocations: 0 / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.3141, allocations: 0 / 0.5682 GB, free: 12.75 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.0004216/0.3145, allocations: 0.8048 MB / 0.569 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.274e-05/0.3146, allocations: 3.938 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3146, allocations: 8.156 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3146, allocations: 0 / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.315, allocations: 455.6 kB / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.3153, allocations: 186.6 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.698e-05/0.3154, allocations: 59.34 kB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.425e-05/0.3154, allocations: 0 / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.3154, allocations: 7.438 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3154, allocations: 0 / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.3337, allocations: 1.041 MB / 0.5707 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.72, allocations: 13.84 kB / 0.5707 GB, free: 10.24 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.686801210977137]