Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.002156/0.002156, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002327/0.002327, allocations: 214.1 kB / 23.75 MB, free: 4.668 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 / 257.5 MB, free: 7.992 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.2277/0.2277, allocations: 46.94 MB / 360.9 MB, free: 4.277 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.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3219, allocations: 66.03 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003018/0.3249, allocations: 1.613 MB / 0.5622 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.326, allocations: 0.5582 MB / 0.5628 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.3261, allocations: 0 / 0.5628 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.3263, allocations: 15.86 kB / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.3265, allocations: 87.61 kB / 0.5629 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.3269, allocations: 115.7 kB / 0.563 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.327, allocations: 63.84 kB / 0.5631 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3271, allocations: 9.812 kB / 0.5631 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.3272, allocations: 27.86 kB / 0.5631 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.3272, allocations: 23.86 kB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3273, allocations: 4 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.3273, allocations: 31.98 kB / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.3274, allocations: 19.86 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.3274, allocations: 23.8 kB / 0.5632 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3276, allocations: 87.61 kB / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3276, allocations: 0 / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3276, allocations: 0 / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3276, allocations: 0 / 0.5633 GB, free: 1.777 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004682/0.3281, allocations: 309.9 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3281, allocations: 8.031 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.3282, allocations: 30.75 kB / 0.5636 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.3282, allocations: 8.891 kB / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3284, allocations: 138.4 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-06/0.3284, allocations: 4.375 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3284, allocations: 4.375 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3285, allocations: 57.56 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3285, allocations: 0 / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3286, allocations: 3.938 kB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3286, allocations: 4 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.143e-05/0.3287, allocations: 23.97 kB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.3291, allocations: 255.9 kB / 0.5641 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.3293, allocations: 46.5 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.3293, allocations: 16.94 kB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.3294, allocations: 0 / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3294, allocations: 30.56 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3294, allocations: 0 / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005755/0.33, allocations: 157.4 kB / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.33, allocations: 51.41 kB / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3301, allocations: 150.1 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3302, allocations: 25.7 kB / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.3302, allocations: 96.08 kB / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.3303, allocations: 23.84 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3303, allocations: 21.72 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3305, allocations: 322.8 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.3306, allocations: 15.98 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.029e-05/0.3306, allocations: 23.98 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.3307, allocations: 52.77 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3308, allocations: 0 / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001899/0.3309, allocations: 93.61 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.331, allocations: 4 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.331, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.331, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.331, allocations: 15.98 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.331, allocations: 0 / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.3311, allocations: 7.938 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3311, allocations: 3.938 kB / 0.5652 GB, free: 15.61 MB / 414.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 (5): * Single equations (assignments): 5 * 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.0001041/0.3312, allocations: 121.8 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3312, allocations: 11.95 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3315, allocations: 110.5 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3315, allocations: 0 / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3315, allocations: 0 / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3315, allocations: 3.984 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.332, allocations: 345.4 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.332, allocations: 0 / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.332, allocations: 8 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.332, allocations: 0 / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.332, allocations: 3.984 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.3321, allocations: 7.938 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3321, allocations: 0 / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.3323, allocations: 183.5 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.3323, allocations: 3.953 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3324, allocations: 4 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.3324, allocations: 7.938 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3325, allocations: 7.984 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3325, allocations: 0 / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3326, allocations: 125.6 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3326, allocations: 0 / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.3328, allocations: 11.94 kB / 0.5661 GB, free: 14.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 (5): * Single equations (assignments): 5 * 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.002065/0.3349, allocations: 1.019 MB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3351, allocations: 55.91 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3351, allocations: 7.938 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.3352, allocations: 27.97 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.3356, allocations: 17.62 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3374, allocations: 1.465 MB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3378, allocations: 0.7002 MB / 0.5693 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.3378, allocations: 11.78 kB / 0.5693 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.3379, allocations: 27.42 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3379, allocations: 0 / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.3665, allocations: 2.726 MB / 0.572 GB, free: 8.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.36, allocations: 6.688 kB / 0.572 GB, free: 8.617 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.366188514046371]