Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.0007109/0.0007109, allocations: 95.91 kB / 17.35 MB, free: 6.375 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.000778/0.000778, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1675/0.1675, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09198, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001731/0.09375, allocations: 1.378 MB / 473.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.09488, allocations: 0.8265 MB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.09493, allocations: 4 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.09518, allocations: 55.86 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.09534, allocations: 55.81 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.09556, allocations: 103.8 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.0957, allocations: 87.7 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.09574, allocations: 4 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.205e-05/0.09582, allocations: 39.83 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.09591, allocations: 43.78 kB / 475 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.09593, allocations: 4 kB / 475 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.939e-05/0.09601, allocations: 31.92 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.09606, allocations: 15.97 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.09612, allocations: 57.45 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.09627, allocations: 99.91 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09628, allocations: 0 / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09629, allocations: 0 / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.09629, allocations: 0 / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004409/0.09674, allocations: 393.3 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.09679, allocations: 8.031 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.09683, allocations: 34.73 kB / 475.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.09686, allocations: 16.78 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.09705, allocations: 204.1 kB / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.09707, allocations: 4.375 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.09709, allocations: 7.938 kB / 475.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.09721, allocations: 45.67 kB / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.09722, allocations: 0 / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.09723, allocations: 0 / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.09725, allocations: 4 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.09731, allocations: 15.98 kB / 475.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.09748, allocations: 181.6 kB / 476.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.09763, allocations: 58.5 kB / 476.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.09769, allocations: 20.84 kB / 476.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.09772, allocations: 3.938 kB / 476.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.09787, allocations: 63.39 kB / 476.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.09788, allocations: 4 kB / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000234/0.09812, allocations: 97.52 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.09816, allocations: 51.41 kB / 476.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.09831, allocations: 194.1 kB / 476.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.09833, allocations: 25.7 kB / 476.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.09838, allocations: 100.1 kB / 476.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.09842, allocations: 15.8 kB / 476.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.09845, allocations: 13.72 kB / 476.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.09854, allocations: 326.8 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.0986, allocations: 19.98 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/0.09865, allocations: 25.72 kB / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.689e-05/0.09875, allocations: 49.64 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.09876, allocations: 3.938 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001371/0.0989, allocations: 73.59 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.09892, allocations: 7.984 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.09893, allocations: 4.031 kB / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.09895, allocations: 7.938 kB / 477.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/0.09901, allocations: 8 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.09902, allocations: 0 / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.09907, allocations: 4.312 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.09908, allocations: 0 / 477.2 MB, free: 8.148 MB / 350.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 (7): * Single equations (assignments): 7 * 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 7.988e-05/0.09917, allocations: 136.9 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.09919, allocations: 11.81 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.09923, allocations: 12.3 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.09924, allocations: 8 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.09925, allocations: 3.938 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.09925, allocations: 0 / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.09937, allocations: 189.5 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.09938, allocations: 0 / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.09941, allocations: 4 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.09941, allocations: 0 / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.09942, allocations: 0 / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.09943, allocations: 0 / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.09944, allocations: 11.92 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.0996, allocations: 116.9 kB / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.09966, allocations: 89 kB / 477.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.09968, allocations: 4 kB / 477.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.09972, allocations: 0 / 477.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.09976, allocations: 7.984 kB / 477.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.09978, allocations: 0 / 477.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.66e-05/0.09988, allocations: 139.2 kB / 477.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09988, allocations: 4 kB / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.1001, allocations: 23.98 kB / 478 MB, free: 7.305 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001127/0.1012, allocations: 0.9447 MB / 478.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.1014, allocations: 35.98 kB / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1014, allocations: 8.062 kB / 478.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.524e-05/0.1014, allocations: 23.92 kB / 479 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1017, allocations: 26.62 kB / 479 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.103, allocations: 1.499 MB / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1032, allocations: 0.6965 MB / 481.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.577e-05/0.1033, allocations: 16.53 kB / 481.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.1034, allocations: 31.42 kB / 481.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1034, allocations: 0 / 481.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.115, allocations: 2.637 MB / 483.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.1152, allocations: 238.3 kB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.801, allocations: 64 / 484.1 MB, free: 1.262 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches