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.001227/0.001227, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 81.98 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1001, allocations: 62.44 MB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002885/0.1031, allocations: 1.752 MB / 481.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1044, allocations: 0.9823 MB / 482.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.1045, allocations: 3.938 kB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1048, allocations: 51.88 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1051, allocations: 91.73 kB / 482.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.1052, allocations: 59.81 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1054, allocations: 99.7 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.1054, allocations: 12.22 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.403e-05/0.1055, allocations: 47.78 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.1056, allocations: 47.77 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1056, allocations: 0 / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.1057, allocations: 35.98 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.1058, allocations: 15.88 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.1058, allocations: 39.73 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.106, allocations: 99.98 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.106, allocations: 3.938 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.106, allocations: 0 / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.106, allocations: 0 / 482.9 MB, free: 2.141 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.0004714/0.1065, allocations: 403 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1065, allocations: 8.031 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.1066, allocations: 38.75 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.1066, allocations: 12.75 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1068, allocations: 204.1 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1068, allocations: 4.375 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1069, allocations: 3.938 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.107, allocations: 53.67 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.107, allocations: 0 / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.107, allocations: 0 / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.107, allocations: 0 / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.809e-05/0.1071, allocations: 19.92 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1073, allocations: 185.6 kB / 483.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1075, allocations: 50.56 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.1075, allocations: 20.84 kB / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1075, allocations: 4 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.1077, allocations: 67.33 kB / 484 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.1077, allocations: 4 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002738/0.108, allocations: 93.58 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.108, allocations: 59.34 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1082, allocations: 177.9 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1082, allocations: 29.7 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.1083, allocations: 100.1 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1083, allocations: 11.81 kB / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1084, allocations: 17.72 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1085, allocations: 330.8 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.1085, allocations: 15.98 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.1086, allocations: 25.7 kB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1087, allocations: 45.66 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1087, allocations: 3.938 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001597/0.1089, allocations: 85.52 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1089, allocations: 10.66 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1089, allocations: 0 / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1089, allocations: 0 / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.109, allocations: 8 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.109, allocations: 4 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.1091, allocations: 11.83 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1091, allocations: 4 kB / 485 MB, free: 15.83 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.062e-05/0.1092, allocations: 125.8 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.1092, allocations: 15.92 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1093, allocations: 16.98 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1093, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1093, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1093, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.1094, allocations: 185.6 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1094, allocations: 0 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.1095, allocations: 11.92 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1095, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1095, allocations: 4.312 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1095, allocations: 4 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1095, allocations: 8 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1097, allocations: 105 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.1097, allocations: 88.86 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1098, allocations: 8 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.1098, allocations: 0 / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.1099, allocations: 11.92 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1099, allocations: 0 / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.11, allocations: 141.8 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.11, allocations: 0 / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1102, allocations: 19.98 kB / 485.7 MB, free: 15 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.001247/0.1115, allocations: 0.9371 MB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.1116, allocations: 51.92 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1116, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.1117, allocations: 19.98 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.112, allocations: 19.98 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.1134, allocations: 1.478 MB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1137, allocations: 0.7002 MB / 488.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.382e-05/0.1137, allocations: 16.53 kB / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.1138, allocations: 27.42 kB / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1138, allocations: 4 kB / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.1265, allocations: 2.927 MB / 491.9 MB, free: 8.926 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.1267, allocations: 237.2 kB / 492.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/1.9, allocations: 0 / 492.1 MB, free: 8.668 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