Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009259/0.0009259, allocations: 96.84 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 206.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1862/0.1862, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002342, allocations: 12 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.09939, allocations: 63.55 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001732/0.1012, allocations: 1.407 MB / 484.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1025, allocations: 0.9668 MB / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.1026, allocations: 4 kB / 485.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.1028, allocations: 55.8 kB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.1031, allocations: 91.72 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.1032, allocations: 59.81 kB / 485.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1033, allocations: 99.69 kB / 485.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.1034, allocations: 4.234 kB / 485.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.1035, allocations: 47.77 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.1036, allocations: 43.84 kB / 486 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1036, allocations: 7.984 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.1e-05/0.1037, allocations: 31.92 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.1037, allocations: 19.92 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.1038, allocations: 57.45 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1039, allocations: 103.9 kB / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.104, allocations: 0 / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.104, allocations: 0 / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.104, allocations: 3.938 kB / 486.2 MB, free: 1.059 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.0004137/0.1044, allocations: 399.1 kB / 486.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1044, allocations: 8.875 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.1045, allocations: 38.75 kB / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1045, allocations: 8.844 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.1047, allocations: 218.5 kB / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1047, allocations: 384 / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1047, allocations: 3.938 kB / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1049, allocations: 53.67 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.1049, allocations: 0 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1049, allocations: 0 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1049, allocations: 4 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.105, allocations: 11.98 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1051, allocations: 185.7 kB / 487.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1053, allocations: 58.55 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.1054, allocations: 20.84 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1054, allocations: 4 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.1055, allocations: 63.39 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1055, allocations: 0 / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002482/0.1058, allocations: 101.4 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.1058, allocations: 51.41 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.106, allocations: 190.9 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.106, allocations: 29.69 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.1061, allocations: 104.1 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.1061, allocations: 11.89 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.1061, allocations: 13.72 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.1062, allocations: 322.8 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.1063, allocations: 12 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/0.1063, allocations: 25.7 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.472e-05/0.1064, allocations: 57.64 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1065, allocations: 3.938 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001442/0.1066, allocations: 81.5 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1066, allocations: 8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1066, allocations: 0 / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1067, allocations: 0 / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.1067, allocations: 15.92 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1067, allocations: 0 / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.1068, allocations: 4 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.1068, allocations: 8.031 kB / 488.3 MB, free: 14.74 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 8.645e-05/0.1069, allocations: 125.8 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.1069, allocations: 15.75 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.107, allocations: 13 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.107, allocations: 7.938 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.107, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.107, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1071, allocations: 197.5 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1071, allocations: 0 / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.1071, allocations: 4 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1072, allocations: 4 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1072, allocations: 0 / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1072, allocations: 0 / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1072, allocations: 3.938 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.1073, allocations: 109 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.1074, allocations: 89 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1074, allocations: 8 kB / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.1075, allocations: 4.312 kB / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.1075, allocations: 7.984 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1075, allocations: 0 / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1076, allocations: 152.7 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1076, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1079, allocations: 23.91 kB / 489 MB, free: 13.9 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.001144/0.109, allocations: 0.9496 MB / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1092, allocations: 35.98 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1092, allocations: 0 / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.244e-05/0.1092, allocations: 23.92 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.1095, allocations: 28.22 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1109, allocations: 1.509 MB / 491.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.1111, allocations: 0.7043 MB / 492.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.1111, allocations: 24.39 kB / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1112, allocations: 31.36 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1112, allocations: 0 / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.1231, allocations: 2.703 MB / 495 MB, free: 8.012 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.1233, allocations: 238.4 kB / 495.2 MB, free: 7.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.738, allocations: 4 kB / 495.2 MB, free: 7.754 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches