Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.4 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 77.97 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1096, allocations: 62.45 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003238/0.1128, allocations: 1.789 MB / 481.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.1153, allocations: 1.596 MB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1155, allocations: 0 / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.1159, allocations: 31.84 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.1164, allocations: 87.73 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1167, allocations: 71.8 kB / 483.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.117, allocations: 99.7 kB / 483.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1171, allocations: 16 kB / 483.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1172, allocations: 47.77 kB / 483.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1174, allocations: 51.7 kB / 483.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1175, allocations: 8 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.1177, allocations: 95.95 kB / 483.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.1178, allocations: 19.91 kB / 483.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.31e-05/0.1179, allocations: 39.73 kB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.1182, allocations: 167.8 kB / 483.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1182, allocations: 0 / 483.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1182, allocations: 0 / 483.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1182, allocations: 4 kB / 483.7 MB, free: 1.387 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006726/0.1189, allocations: 423 kB / 484.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.119, allocations: 12.03 kB / 484.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.119, allocations: 34.73 kB / 484.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.1191, allocations: 8.844 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1193, allocations: 223.3 kB / 484.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1194, allocations: 0 / 484.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1194, allocations: 8 kB / 484.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1196, allocations: 75.39 kB / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1196, allocations: 0 / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1196, allocations: 0 / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1196, allocations: 0 / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.1197, allocations: 19.98 kB / 484.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1201, allocations: 288.8 kB / 484.8 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1202, allocations: 58.69 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.1203, allocations: 20.84 kB / 484.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1203, allocations: 0 / 484.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.1205, allocations: 71.44 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1206, allocations: 0 / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005584/0.1211, allocations: 169.2 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.1212, allocations: 92.97 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1214, allocations: 169.5 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1214, allocations: 29.7 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.1215, allocations: 100.1 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1215, allocations: 23.66 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1216, allocations: 21.7 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1217, allocations: 326.7 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.1218, allocations: 24 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.1218, allocations: 42.56 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.122, allocations: 61.64 kB / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.122, allocations: 0 / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.1222, allocations: 93.58 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1222, allocations: 8 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1222, allocations: 64 / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1222, allocations: 4 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.1223, allocations: 23.86 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.1224, allocations: 4 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.1224, allocations: 7.984 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1224, allocations: 4 kB / 486.1 MB, free: 14.73 MB / 366.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 9.903e-05/0.1225, allocations: 117.8 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1226, allocations: 12.19 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.1226, allocations: 16.7 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1226, allocations: 7.938 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1227, allocations: 0 / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1227, allocations: 4 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1231, allocations: 399.5 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1231, allocations: 3.938 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.1232, allocations: 8 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1232, allocations: 0 / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1232, allocations: 3.984 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1232, allocations: 8.031 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1232, allocations: 4.016 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1235, allocations: 204.3 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1235, allocations: 84.95 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1236, allocations: 4 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.1237, allocations: 7.984 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1237, allocations: 8 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1237, allocations: 4.188 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1238, allocations: 127.2 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1238, allocations: 3.938 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.1242, allocations: 47.92 kB / 487.2 MB, free: 13.57 MB / 366.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.0017/0.1259, allocations: 1.178 MB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.1261, allocations: 63.89 kB / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1261, allocations: 3.938 kB / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.1262, allocations: 35.98 kB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1266, allocations: 29.41 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1283, allocations: 1.597 MB / 490.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1285, allocations: 0.7012 MB / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.1286, allocations: 13.19 kB / 490.8 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.1287, allocations: 39.41 kB / 490.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1287, allocations: 4 kB / 490.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.1436, allocations: 3.852 MB / 494.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.1438, allocations: 237.7 kB / 494.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/1.995, allocations: 0 / 494.9 MB, free: 5.965 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches