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.005008/0.005008, allocations: 100 kB / 15.87 MB, free: 6.316 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.001232/0.001232, allocations: 192.8 kB / 16.79 MB, free: 6.242 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.204/1.204, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2737/0.2737, allocations: 43.5 MB / 313.5 MB, free: 8.285 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.001259/0.001259, allocations: 67.91 kB / 382.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08736, allocations: 57.77 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002528/0.08992, allocations: 1.768 MB / 441.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.09145, allocations: 1.379 MB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.0915, allocations: 0 / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.09174, allocations: 27.91 kB / 443.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.09189, allocations: 51.77 kB / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.0921, allocations: 83.84 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.09224, allocations: 91.69 kB / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.09231, allocations: 16.2 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.09239, allocations: 35.86 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.09251, allocations: 43.77 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.09254, allocations: 0 / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.09265, allocations: 59.92 kB / 443.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.09269, allocations: 15.97 kB / 443.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.09274, allocations: 35.73 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.09291, allocations: 111.9 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.09292, allocations: 0 / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.09292, allocations: 4 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.09293, allocations: 0 / 443.6 MB, free: 10.77 MB / 382.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.000458/0.0934, allocations: 415 kB / 444 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.09344, allocations: 12.03 kB / 444 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.09348, allocations: 34.75 kB / 444.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.09352, allocations: 12.78 kB / 444.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.09372, allocations: 204.2 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.09374, allocations: 384 / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.09376, allocations: 7.938 kB / 444.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.0939, allocations: 71.39 kB / 444.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.09392, allocations: 3.906 kB / 444.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.09394, allocations: 0 / 444.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.09395, allocations: 7.984 kB / 444.4 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.09402, allocations: 15.94 kB / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.09431, allocations: 280.9 kB / 444.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.09448, allocations: 62.67 kB / 444.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.09454, allocations: 20.84 kB / 444.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.09456, allocations: 0 / 444.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.0947, allocations: 75.33 kB / 444.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.09471, allocations: 0 / 444.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004661/0.09518, allocations: 169.2 kB / 445 MB, free: 9.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.09523, allocations: 81.11 kB / 445.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.09536, allocations: 149.8 kB / 445.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.09539, allocations: 29.7 kB / 445.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.09544, allocations: 96.12 kB / 445.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.09547, allocations: 31.62 kB / 445.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.09551, allocations: 21.72 kB / 445.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.09559, allocations: 318.8 kB / 445.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.09565, allocations: 20 kB / 445.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.09573, allocations: 46.94 kB / 445.8 MB, free: 8.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.09584, allocations: 61.64 kB / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.09584, allocations: 0 / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.09602, allocations: 101.6 kB / 445.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.09604, allocations: 4.188 kB / 445.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.09605, allocations: 3.938 kB / 445.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.09607, allocations: 8 kB / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.09615, allocations: 19.94 kB / 446 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.09616, allocations: 160 / 446 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.09622, allocations: 15.83 kB / 446 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.09624, allocations: 7.984 kB / 446 MB, free: 8.152 MB / 382.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 7.531e-05/0.09632, allocations: 117.8 kB / 446.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.09634, allocations: 7.906 kB / 446.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.09638, allocations: 20.69 kB / 446.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09639, allocations: 4 kB / 446.1 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.0964, allocations: 0 / 446.1 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.09641, allocations: 3.938 kB / 446.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.09678, allocations: 387.3 kB / 446.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0968, allocations: 0 / 446.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.09684, allocations: 15.92 kB / 446.5 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.09684, allocations: 7.938 kB / 446.5 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.09686, allocations: 0 / 446.5 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.09686, allocations: 4.031 kB / 446.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.09687, allocations: 0 / 446.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.09708, allocations: 196.3 kB / 446.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.09712, allocations: 85.02 kB / 446.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.09715, allocations: 11.92 kB / 446.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.09723, allocations: 4 kB / 446.8 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.09727, allocations: 11.98 kB / 446.8 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.09729, allocations: 7.984 kB / 446.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8e-05/0.09737, allocations: 114.5 kB / 447 MB, free: 7.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09738, allocations: 3.938 kB / 447 MB, free: 7.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.09763, allocations: 31.98 kB / 447 MB, free: 7.039 MB / 382.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.00136/0.099, allocations: 1.145 MB / 448.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.09916, allocations: 59.91 kB / 448.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.09917, allocations: 0 / 448.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.09925, allocations: 31.92 kB / 448.2 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.09955, allocations: 23.98 kB / 448.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.1009, allocations: 1.572 MB / 449.8 MB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.1011, allocations: 0.6926 MB / 450.5 MB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.1012, allocations: 25.33 kB / 450.5 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.1012, allocations: 31.42 kB / 450.6 MB, free: 3.355 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1012, allocations: 0 / 450.6 MB, free: 3.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.114, allocations: 3.279 MB / 453.9 MB, free: 52 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1381/0.2521, allocations: 243 kB / 454.1 MB, free: 51.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/1.882, allocations: 0 / 454.1 MB, free: 51.11 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches