Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 46.09 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 80.75 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1119, allocations: 62.45 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002917/0.1149, allocations: 1.738 MB / 481.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1164, allocations: 1.006 MB / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.1165, allocations: 0 / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1168, allocations: 43.88 kB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1171, allocations: 83.67 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1174, allocations: 59.88 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1175, allocations: 95.69 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.1176, allocations: 16.22 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.1177, allocations: 47.7 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.1178, allocations: 31.86 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1178, allocations: 4 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.1179, allocations: 31.98 kB / 482.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.118, allocations: 19.91 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.118, allocations: 31.75 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.1182, allocations: 107.8 kB / 482.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1182, allocations: 8 kB / 482.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1182, allocations: 0 / 482.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1182, allocations: 0 / 482.7 MB, free: 2.285 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.0004672/0.1187, allocations: 395.1 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1187, allocations: 16.8 kB / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.1188, allocations: 30.75 kB / 483.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1188, allocations: 12.75 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.119, allocations: 204.2 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1191, allocations: 384 / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1191, allocations: 11.94 kB / 483.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1192, allocations: 49.61 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1192, allocations: 0 / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1192, allocations: 0 / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1193, allocations: 0 / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.722e-05/0.1193, allocations: 12 kB / 483.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.1195, allocations: 189.6 kB / 483.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1197, allocations: 58.56 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.1197, allocations: 20.84 kB / 483.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1198, allocations: 3.984 kB / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.12, allocations: 63.33 kB / 483.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.12, allocations: 3.938 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000269/0.1202, allocations: 93.58 kB / 483.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1203, allocations: 55.41 kB / 483.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1204, allocations: 187.3 kB / 484.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1205, allocations: 25.7 kB / 484.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.1205, allocations: 96.14 kB / 484.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1206, allocations: 19.8 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1206, allocations: 21.66 kB / 484.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.1207, allocations: 322.8 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.1208, allocations: 15.98 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.1208, allocations: 29.72 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.423e-05/0.1209, allocations: 37.7 kB / 484.6 MB, free: 112 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.1209, allocations: 3.938 kB / 484.6 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.1211, allocations: 89.78 kB / 484.7 MB, free: 12 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1211, allocations: 4 kB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1211, allocations: 0 / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1211, allocations: 8.031 kB / 484.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.1212, allocations: 12.05 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1213, allocations: 0 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1213, allocations: 7.906 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1213, allocations: 0 / 484.8 MB, free: 15.98 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 (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 9.259e-05/0.1214, allocations: 129.6 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.1214, allocations: 7.906 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.1215, allocations: 13 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1215, allocations: 4 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1215, allocations: 7.984 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1215, allocations: 7.922 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1216, allocations: 185.6 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1217, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.1217, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1217, allocations: 4 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1217, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1217, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1217, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1219, allocations: 113 kB / 485.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.122, allocations: 96.84 kB / 485.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.122, allocations: 3.938 kB / 485.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.122, allocations: 7.938 kB / 485.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.1221, allocations: 4 kB / 485.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1221, allocations: 4 kB / 485.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1222, allocations: 135.9 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1222, allocations: 0 / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1224, allocations: 20 kB / 485.5 MB, free: 15.16 MB / 366.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.001213/0.1236, allocations: 0.9445 MB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.1238, allocations: 43.91 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1238, allocations: 0 / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.1239, allocations: 20.06 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1242, allocations: 31.34 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1256, allocations: 1.485 MB / 488 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.1259, allocations: 0.7002 MB / 488.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.391e-05/0.1259, allocations: 16.53 kB / 488.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.126, allocations: 27.44 kB / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.126, allocations: 0 / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.1382, allocations: 2.84 MB / 491.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.1385, allocations: 247.2 kB / 491.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.908, allocations: 3.938 kB / 491.8 MB, free: 8.879 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches