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.001318/0.001318, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001507/0.001507, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2283/0.2283, allocations: 46.95 MB / 361.7 MB, free: 4.262 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.002183/0.002183, allocations: 71.89 kB / 0.4969 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 66.03 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002558/0.3257, allocations: 1.214 MB / 0.5626 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009035/0.3266, allocations: 427.8 kB / 0.563 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.3266, allocations: 4 kB / 0.563 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.3266, allocations: 4 kB / 0.563 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.409e-05/0.3267, allocations: 0 / 0.563 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.3272, allocations: 75.72 kB / 0.5631 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.395e-05/0.3272, allocations: 0 / 0.5631 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.3273, allocations: 3.984 kB / 0.5631 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.3273, allocations: 4 kB / 0.5631 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.3276, allocations: 47.69 kB / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.3276, allocations: 4 kB / 0.5631 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.3276, allocations: 4 kB / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-06/0.3276, allocations: 0 / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.3276, allocations: 0 / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.346e-05/0.3277, allocations: 15.98 kB / 0.5632 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3277, allocations: 0 / 0.5632 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3277, allocations: 0 / 0.5632 GB, free: 2.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3277, allocations: 0 / 0.5632 GB, free: 2.672 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.0002818/0.328, allocations: 238.5 kB / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3281, allocations: 8.031 kB / 0.5634 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.244e-05/0.3281, allocations: 4.188 kB / 0.5634 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.3281, allocations: 34.75 kB / 0.5634 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.3282, allocations: 4.938 kB / 0.5634 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.262e-05/0.3283, allocations: 106.5 kB / 0.5635 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3283, allocations: 384 / 0.5635 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3283, allocations: 8.312 kB / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.363e-05/0.3284, allocations: 30.02 kB / 0.5636 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3284, allocations: 0 / 0.5636 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.3284, allocations: 0 / 0.5636 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.3285, allocations: 8 kB / 0.5636 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.419e-05/0.3285, allocations: 0 / 0.5636 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3288, allocations: 356.7 kB / 0.5639 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.3289, allocations: 169.1 kB / 0.5641 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.3289, allocations: 88.08 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.329, allocations: 79.28 kB / 0.5642 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.329, allocations: 105.8 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.329, allocations: 4 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.796e-05/0.3291, allocations: 29.66 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.3292, allocations: 130.6 kB / 0.5645 GB, free: 1.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.3293, allocations: 97.78 kB / 0.5646 GB, free: 1.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3293, allocations: 29.83 kB / 0.5646 GB, free: 1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.3293, allocations: 84.14 kB / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/0.3293, allocations: 4 kB / 0.5647 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.3294, allocations: 9.719 kB / 0.5647 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3295, allocations: 310.8 kB / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.3295, allocations: 32 / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-06/0.3295, allocations: 4 kB / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.3296, allocations: 16.86 kB / 0.565 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3296, allocations: 0 / 0.565 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.335e-05/0.3296, allocations: 37.69 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3297, allocations: 6.5 kB / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3297, allocations: 0 / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3297, allocations: 3.938 kB / 0.5651 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.101e-05/0.3297, allocations: 0 / 0.5651 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3297, allocations: 4 kB / 0.5651 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.3297, allocations: 4 kB / 0.5651 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.3297, allocations: 0 / 0.5651 GB, free: 0.5 MB / 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.0001249/0.3299, allocations: 193 kB / 0.5653 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.3299, allocations: 105 kB / 0.5654 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.33, allocations: 123.7 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-05/0.3301, allocations: 176.3 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-05/0.3302, allocations: 176.3 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.219e-05/0.3303, allocations: 188.2 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.3305, allocations: 377.3 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.68e-05/0.3306, allocations: 104.9 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.3306, allocations: 101 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.731e-05/0.3307, allocations: 180.3 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/0.3308, allocations: 184.2 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.366e-05/0.3308, allocations: 180.3 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.888e-05/0.3309, allocations: 188.1 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.3311, allocations: 304 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.3312, allocations: 113 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/0.3312, allocations: 188.2 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.3313, allocations: 104.9 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.3314, allocations: 176.3 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.3314, allocations: 105 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.78e-05/0.3315, allocations: 79.28 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3315, allocations: 3.938 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.3317, allocations: 96 / 0.5683 GB, free: 13.02 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.0004501/0.3321, allocations: 0.8087 MB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.747e-05/0.3322, allocations: 4 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3322, allocations: 0 / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.3322, allocations: 4 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.3326, allocations: 459.7 kB / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.333, allocations: 186.6 kB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3333, allocations: 0.6729 MB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.3334, allocations: 0 / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.3334, allocations: 7.438 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3334, allocations: 4 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.3521, allocations: 1.017 MB / 0.5714 GB, free: 9.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.5, allocations: 20.95 kB / 0.5714 GB, free: 9.898 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.489629554969724]