Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",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.0008246/0.0008246, allocations: 179.3 kB / 16.72 MB, free: 5.078 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.14/1.14, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0006386/0.0006388, allocations: 93.14 kB / 271.2 MB, free: 8.234 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.2728/0.2728, allocations: 43.57 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003515, allocations: 20 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0948/0.09517, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001931/0.09714, allocations: 1.398 MB / 492.3 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.09832, allocations: 0.7383 MB / 493.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.792e-05/0.09845, allocations: 8 kB / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.09875, allocations: 35.89 kB / 493.1 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.09896, allocations: 39.77 kB / 493.2 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.09925, allocations: 75.84 kB / 493.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.09942, allocations: 75.77 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.09952, allocations: 12.22 kB / 493.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.09962, allocations: 43.77 kB / 493.4 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.0997, allocations: 31.86 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.09972, allocations: 3.938 kB / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.78e-05/0.09982, allocations: 35.98 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.09988, allocations: 19.91 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.09995, allocations: 53.52 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1001, allocations: 76.11 kB / 493.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1001, allocations: 0 / 493.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1001, allocations: 0 / 493.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1001, allocations: 0 / 493.6 MB, free: 8.129 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004907/0.1006, allocations: 403 kB / 494 MB, free: 7.688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1007, allocations: 8.031 kB / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.1007, allocations: 42.73 kB / 494 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.1008, allocations: 8.844 kB / 494 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.101, allocations: 200 kB / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.101, allocations: 8.359 kB / 494.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.101, allocations: 11.92 kB / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1012, allocations: 49.67 kB / 494.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1012, allocations: 0 / 494.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1012, allocations: 7.938 kB / 494.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1012, allocations: 8 kB / 494.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.591e-05/0.1013, allocations: 19.92 kB / 494.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.1016, allocations: 280.9 kB / 494.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1018, allocations: 50.69 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.1019, allocations: 28.78 kB / 494.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1019, allocations: 4 kB / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1021, allocations: 67.39 kB / 494.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1021, allocations: 0 / 494.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005511/0.1027, allocations: 181.2 kB / 494.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1027, allocations: 51.41 kB / 495 MB, free: 6.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1029, allocations: 170.2 kB / 495.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1029, allocations: 33.7 kB / 495.2 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.103, allocations: 100.1 kB / 495.3 MB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.103, allocations: 27.64 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.103, allocations: 0 / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1031, allocations: 322.8 kB / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.1032, allocations: 16 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.1033, allocations: 37.7 kB / 495.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1034, allocations: 65.64 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1034, allocations: 0 / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.1036, allocations: 97.52 kB / 495.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1036, allocations: 4 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1036, allocations: 4 kB / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1036, allocations: 3.984 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.1037, allocations: 12 kB / 495.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1037, allocations: 0 / 495.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.1038, allocations: 15.97 kB / 495.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1038, allocations: 4 kB / 495.9 MB, free: 5.59 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.295e-05/0.1039, allocations: 121.8 kB / 496 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1039, allocations: 11.81 kB / 496 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.104, allocations: 20.64 kB / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.104, allocations: 0 / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.104, allocations: 3.938 kB / 496 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.104, allocations: 7.938 kB / 496 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.1044, allocations: 383.4 kB / 496.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1044, allocations: 0 / 496.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.1045, allocations: 11.94 kB / 496.4 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1045, allocations: 4.125 kB / 496.4 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1045, allocations: 0 / 496.4 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1045, allocations: 7.938 kB / 496.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1045, allocations: 0 / 496.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1047, allocations: 212.5 kB / 496.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.1048, allocations: 92.92 kB / 496.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.1048, allocations: 3.938 kB / 496.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.1049, allocations: 8.359 kB / 496.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.1049, allocations: 3.938 kB / 496.7 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1049, allocations: 4 kB / 496.7 MB, free: 4.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1051, allocations: 139.9 kB / 496.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1051, allocations: 4 kB / 496.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.1053, allocations: 20 kB / 496.9 MB, free: 4.449 MB / 378.7 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 (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.001271/0.1066, allocations: 1.094 MB / 498 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.1068, allocations: 55.92 kB / 498.1 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1068, allocations: 0 / 498.1 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.759e-05/0.1068, allocations: 35.91 kB / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1072, allocations: 35.64 kB / 498.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.1082, allocations: 0.7041 MB / 498.8 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.1084, allocations: 0.7002 MB / 499.5 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.1085, allocations: 31.42 kB / 499.6 MB, free: 1.727 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1085, allocations: 0 / 499.6 MB, free: 1.727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.943/3.051, allocations: 2.164 MB / 0.49 GB, free: 42.28 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches