Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 102.6 kB / 16.27 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 191 kB / 17.19 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.1 MB / 223.1 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1831/0.1831, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 73.94 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07431/0.0757, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002523/0.07826, allocations: 1.693 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.07974, allocations: 1.406 MB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.07984, allocations: 3.938 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.08011, allocations: 39.83 kB / 443.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.08033, allocations: 63.69 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.08057, allocations: 79.27 kB / 443.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.0807, allocations: 95.7 kB / 444 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.0808, allocations: 12.16 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.08088, allocations: 47.8 kB / 444.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.08101, allocations: 47.77 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.08104, allocations: 4 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.08116, allocations: 59.97 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.08121, allocations: 15.92 kB / 444.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.08126, allocations: 31.8 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.08145, allocations: 115.7 kB / 444.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.08147, allocations: 0 / 444.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08147, allocations: 3.938 kB / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.08148, allocations: 0 / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004249/0.08191, allocations: 415 kB / 444.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.08195, allocations: 11.89 kB / 444.7 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.472e-05/0.08198, allocations: 34.75 kB / 444.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.08203, allocations: 8.844 kB / 444.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.0822, allocations: 201.4 kB / 445 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.08221, allocations: 4.375 kB / 445 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.08224, allocations: 3.938 kB / 445 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.08239, allocations: 71.39 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.08241, allocations: 7.938 kB / 445.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.08242, allocations: 4 kB / 445.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.08243, allocations: 0 / 445.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.0825, allocations: 19.98 kB / 445.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.08276, allocations: 288.8 kB / 445.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.08292, allocations: 66.59 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.08297, allocations: 20.84 kB / 445.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.083, allocations: 3.938 kB / 445.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.08316, allocations: 63.39 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.08317, allocations: 4 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004581/0.08363, allocations: 173.3 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.08367, allocations: 85.11 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.08377, allocations: 152.8 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.08379, allocations: 29.7 kB / 446 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.08382, allocations: 100.1 kB / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.08385, allocations: 23.66 kB / 446.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.08388, allocations: 21.7 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.67e-05/0.08392, allocations: 322.8 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.08398, allocations: 20 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.08404, allocations: 46.5 kB / 446.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.781e-05/0.08413, allocations: 57.7 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.08414, allocations: 0 / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001476/0.08429, allocations: 109.4 kB / 446.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.08431, allocations: 8 kB / 446.7 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.08432, allocations: 0 / 446.7 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.08433, allocations: 4.062 kB / 446.7 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.08441, allocations: 12 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.08442, allocations: 0 / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.08447, allocations: 11.92 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.08449, allocations: 8 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.571e-05/0.08455, allocations: 121.7 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.08458, allocations: 11.91 kB / 446.8 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.08462, allocations: 12.7 kB / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.08462, allocations: 8 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.08463, allocations: 0 / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.08464, allocations: 3.938 kB / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.08498, allocations: 387.7 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.08499, allocations: 0 / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.08503, allocations: 12 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.08504, allocations: 7.922 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.08505, allocations: 4.188 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.08506, allocations: 32 / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.08507, allocations: 7.938 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.08528, allocations: 200.2 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.08533, allocations: 85.02 kB / 447.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.08536, allocations: 7.875 kB / 447.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.08544, allocations: 7.984 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.08547, allocations: 8 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.08549, allocations: 4 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.615e-05/0.08558, allocations: 119.2 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.08559, allocations: 0 / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.08586, allocations: 31.98 kB / 447.7 MB, free: 15.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001392/0.08726, allocations: 1.131 MB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.08744, allocations: 63.91 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.08745, allocations: 0 / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.08753, allocations: 31.92 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.08785, allocations: 29.3 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.08929, allocations: 1.547 MB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.08954, allocations: 0.6964 MB / 451.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.376e-05/0.08961, allocations: 28.86 kB / 451.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.08969, allocations: 31.42 kB / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.08969, allocations: 0 / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/0.2162, allocations: 3.464 MB / 454.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/7.987, allocations: 7.875 kB / 454.7 MB, free: 8.207 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches