Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001315, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008267/0.0008264, allocations: 92.31 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2822/0.2822, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.000372, allocations: 24 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.09257, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.001951/0.09456, allocations: 1.526 MB / 492.5 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.09582, allocations: 0.8396 MB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.09595, allocations: 7.938 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.09635, allocations: 211.5 kB / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.09664, allocations: 151.5 kB / 493.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.09708, allocations: 131.7 kB / 493.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.09735, allocations: 187.4 kB / 494 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.09746, allocations: 25.53 kB / 494 MB, free: 7.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.09761, allocations: 103.5 kB / 494.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.09777, allocations: 119.6 kB / 494.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.0978, allocations: 4 kB / 494.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.982e-05/0.09791, allocations: 40 kB / 494.3 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.09798, allocations: 55.73 kB / 494.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.09807, allocations: 93.2 kB / 494.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.09826, allocations: 159.9 kB / 494.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.09828, allocations: 0 / 494.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09829, allocations: 3.938 kB / 494.6 MB, free: 7.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.0983, allocations: 0 / 494.6 MB, free: 7.125 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005751/0.09887, allocations: 0.506 MB / 495.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.09892, allocations: 8.031 kB / 495.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.09896, allocations: 42.75 kB / 495.1 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.09901, allocations: 28.56 kB / 495.1 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.0993, allocations: 288 kB / 495.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.09932, allocations: 384 / 495.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.09935, allocations: 7.938 kB / 495.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.09955, allocations: 99.36 kB / 495.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.09957, allocations: 0 / 495.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.09958, allocations: 4 kB / 495.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.0996, allocations: 4 kB / 495.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.09971, allocations: 39.91 kB / 495.6 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.1001, allocations: 441 kB / 496 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1004, allocations: 117.3 kB / 496.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.1005, allocations: 41.69 kB / 496.2 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1005, allocations: 4 kB / 496.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.1008, allocations: 116.9 kB / 496.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.1008, allocations: 0 / 496.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007917/0.1016, allocations: 363.9 kB / 496.6 MB, free: 4.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.1017, allocations: 92.92 kB / 496.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.102, allocations: 436.4 kB / 497.2 MB, free: 4.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1021, allocations: 25.7 kB / 497.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.1022, allocations: 152.4 kB / 497.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.1022, allocations: 47.34 kB / 497.4 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.1022, allocations: 11.94 kB / 497.4 MB, free: 4.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.1023, allocations: 338.8 kB / 497.7 MB, free: 3.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.4e-05/0.1024, allocations: 39.97 kB / 497.8 MB, free: 3.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1025, allocations: 75.41 kB / 497.8 MB, free: 3.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.1027, allocations: 111.4 kB / 497.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1027, allocations: 0 / 497.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002899/0.103, allocations: 177.3 kB / 498.1 MB, free: 3.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1031, allocations: 11.34 kB / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.1031, allocations: 4 kB / 498.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1031, allocations: 0 / 498.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1032, allocations: 43.86 kB / 498.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1032, allocations: 0 / 498.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.1033, allocations: 12.59 kB / 498.2 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1033, allocations: 15.98 kB / 498.2 MB, free: 3.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.1035, allocations: 161.7 kB / 498.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.1035, allocations: 27.72 kB / 498.4 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.1036, allocations: 38.94 kB / 498.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1036, allocations: 7.938 kB / 498.4 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1036, allocations: 0 / 498.4 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1036, allocations: 4 kB / 498.4 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.1043, allocations: 0.6281 MB / 499.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1043, allocations: 0 / 499.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.1043, allocations: 16 kB / 499.1 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1043, allocations: 0 / 499.1 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1044, allocations: 7.984 kB / 499.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.1044, allocations: 4 kB / 499.1 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1044, allocations: 0 / 499.1 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.1047, allocations: 375.8 kB / 499.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.1048, allocations: 104.8 kB / 499.6 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1048, allocations: 8 kB / 499.6 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.105, allocations: 4 kB / 499.6 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.105, allocations: 15.98 kB / 499.6 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1051, allocations: 7.984 kB / 499.6 MB, free: 1.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002616/0.1053, allocations: 323 kB / 499.9 MB, free: 1.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1053, allocations: 0 / 499.9 MB, free: 1.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.1056, allocations: 36 kB / 499.9 MB, free: 1.344 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001339/0.107, allocations: 1.266 MB / 0.4895 GB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1472/0.2542, allocations: 112.1 kB / 0.4896 GB, free: 42.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.2542, allocations: 0.7188 kB / 0.4896 GB, free: 42.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.2544, allocations: 60.03 kB / 0.4896 GB, free: 42.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/0.2551, allocations: 53.98 kB / 0.4897 GB, free: 42.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.2572, allocations: 1.535 MB / 0.4912 GB, free: 42.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.2574, allocations: 0.763 MB / 0.4919 GB, free: 41.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.2576, allocations: 81.64 kB / 0.492 GB, free: 41.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2576, allocations: 0 / 0.492 GB, free: 41.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.732/2.99, allocations: 4.091 MB / 0.496 GB, free: 41.39 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches