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.001145/0.001145, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001236, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 76.75 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 62.44 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003203/0.1096, allocations: 1.799 MB / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1119, allocations: 1.604 MB / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.112, allocations: 0 / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1123, allocations: 31.84 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.1126, allocations: 79.73 kB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1128, allocations: 63.83 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.113, allocations: 107.7 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.1131, allocations: 8 kB / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.1132, allocations: 43.78 kB / 483.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.1134, allocations: 43.78 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1134, allocations: 0 / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1136, allocations: 99.92 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.1136, allocations: 19.91 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.1137, allocations: 31.75 kB / 483.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.114, allocations: 179.8 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.114, allocations: 0 / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.114, allocations: 0 / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.114, allocations: 0 / 483.5 MB, free: 1.473 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.0005833/0.1146, allocations: 423.1 kB / 483.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1146, allocations: 8.875 kB / 483.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.501e-05/0.1147, allocations: 38.75 kB / 483.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.1148, allocations: 8.844 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.115, allocations: 220.3 kB / 484.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1151, allocations: 4 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1151, allocations: 3.984 kB / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1153, allocations: 67.39 kB / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1153, allocations: 0 / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1153, allocations: 0 / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.1153, allocations: 4 kB / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.1154, allocations: 15.98 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1158, allocations: 292.8 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.116, allocations: 54.67 kB / 484.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.1161, allocations: 24.84 kB / 484.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1161, allocations: 8 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.1163, allocations: 63.39 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.296e-06/0.1163, allocations: 3.938 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006059/0.117, allocations: 177.1 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.117, allocations: 85.05 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1172, allocations: 166.4 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1172, allocations: 29.7 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.1173, allocations: 92.14 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1173, allocations: 31.62 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.1174, allocations: 29.72 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1175, allocations: 322.8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.1176, allocations: 15.98 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.1177, allocations: 46.56 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1178, allocations: 57.64 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1178, allocations: 4.031 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.118, allocations: 101.7 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.118, allocations: 4 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.118, allocations: 0 / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1181, allocations: 4 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.1182, allocations: 23.86 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1182, allocations: 0 / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.1182, allocations: 4 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1182, allocations: 3.984 kB / 485.9 MB, free: 14.82 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 0.0001081/0.1184, allocations: 129.9 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.1184, allocations: 11.81 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.1184, allocations: 12.72 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1185, allocations: 7.938 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1185, allocations: 0 / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1185, allocations: 0 / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.1189, allocations: 395.3 kB / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.119, allocations: 7.969 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.119, allocations: 8 kB / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.119, allocations: 0 / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.119, allocations: 4.375 kB / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.119, allocations: 0 / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.119, allocations: 3.938 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1193, allocations: 200.3 kB / 486.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.1193, allocations: 96.94 kB / 486.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1194, allocations: 4 kB / 486.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.1195, allocations: 7.938 kB / 486.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.1195, allocations: 7.984 kB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1195, allocations: 4.188 kB / 486.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1196, allocations: 126.5 kB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1196, allocations: 3.938 kB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.12, allocations: 51.98 kB / 486.9 MB, free: 13.66 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.00174/0.1217, allocations: 1.175 MB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1219, allocations: 63.91 kB / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1219, allocations: 0 / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.122, allocations: 24 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1224, allocations: 27.97 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.1242, allocations: 1.599 MB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1245, allocations: 0.7015 MB / 490.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.1246, allocations: 33.11 kB / 490.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.1246, allocations: 31.42 kB / 490.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1247, allocations: 0 / 490.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.1395, allocations: 3.774 MB / 494.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.1398, allocations: 245.2 kB / 494.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.876, allocations: 0 / 494.6 MB, free: 6.129 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