Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008403, allocations: 97.41 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 172.8 kB / 16.58 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 222.7 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3599/0.3599, allocations: 43.55 MB / 314.6 MB, free: 9.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004856, allocations: 15.98 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1125, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00202/0.1145, allocations: 1.391 MB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1156, allocations: 0.746 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.1157, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.116, allocations: 79.81 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1161, allocations: 71.73 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.1164, allocations: 75.83 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1165, allocations: 87.75 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.1166, allocations: 12.22 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.1167, allocations: 47.77 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.765e-05/0.1168, allocations: 51.81 kB / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1169, allocations: 4 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.1169, allocations: 35.98 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.117, allocations: 27.86 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.1171, allocations: 33.7 kB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1172, allocations: 96.02 kB / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1172, allocations: 0 / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1172, allocations: 0 / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1173, allocations: 0 / 445.6 MB, free: 10.4 MB / 382.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.0006169/0.1179, allocations: 410.8 kB / 446 MB, free: 9.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1179, allocations: 12.03 kB / 446 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.118, allocations: 34.55 kB / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.118, allocations: 15.81 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1183, allocations: 214.8 kB / 446.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1183, allocations: 4 kB / 446.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.1184, allocations: 0 / 446.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1185, allocations: 57.61 kB / 446.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1185, allocations: 4 kB / 446.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1186, allocations: 3.953 kB / 446.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1186, allocations: 0 / 446.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.1187, allocations: 19.98 kB / 446.4 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.1191, allocations: 288.9 kB / 446.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1193, allocations: 62.59 kB / 446.7 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.1194, allocations: 20.86 kB / 446.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.1194, allocations: 4 kB / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.1196, allocations: 75.33 kB / 446.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1196, allocations: 0 / 446.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005648/0.1202, allocations: 169.2 kB / 447 MB, free: 8.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1203, allocations: 51.41 kB / 447 MB, free: 8.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1205, allocations: 226.5 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1205, allocations: 29.7 kB / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.1206, allocations: 104.1 kB / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1206, allocations: 35.62 kB / 447.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.1206, allocations: 4 kB / 447.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1207, allocations: 322.8 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.1208, allocations: 23.98 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.1209, allocations: 37.64 kB / 447.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.707e-05/0.1209, allocations: 20 kB / 447.8 MB, free: 7.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1209, allocations: 3.938 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.1211, allocations: 101.5 kB / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1211, allocations: 4 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1211, allocations: 3.984 kB / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1212, allocations: 4 kB / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.1213, allocations: 19.94 kB / 448 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1213, allocations: 0 / 448 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.1213, allocations: 4 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1213, allocations: 0 / 448 MB, free: 7.816 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.992e-05/0.1214, allocations: 137.9 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1215, allocations: 15.77 kB / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.1215, allocations: 21.39 kB / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1215, allocations: 0 / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1215, allocations: 0 / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1215, allocations: 0 / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.122, allocations: 395.3 kB / 448.5 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.122, allocations: 3.984 kB / 448.5 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.122, allocations: 15.97 kB / 448.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.122, allocations: 4 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.122, allocations: 0 / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1221, allocations: 240 / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1221, allocations: 0 / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1223, allocations: 208.1 kB / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.1223, allocations: 93 kB / 448.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1224, allocations: 8.375 kB / 448.9 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.1225, allocations: 4 kB / 448.9 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.1225, allocations: 3.984 kB / 448.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1225, allocations: 8.188 kB / 448.9 MB, free: 6.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1227, allocations: 172.3 kB / 449 MB, free: 6.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 7.938 kB / 449 MB, free: 6.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1229, allocations: 27.91 kB / 449.1 MB, free: 6.605 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001361/0.1243, allocations: 1.099 MB / 450.2 MB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1245, allocations: 55.91 kB / 450.2 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1245, allocations: 0 / 450.2 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.1246, allocations: 35.92 kB / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1249, allocations: 24.11 kB / 450.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.126, allocations: 0.7852 MB / 451.1 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1263, allocations: 0.716 MB / 451.8 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.82e-05/0.1264, allocations: 17.17 kB / 451.8 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.1264, allocations: 35.42 kB / 451.8 MB, free: 3.777 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1264, allocations: 0 / 451.8 MB, free: 3.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.1396, allocations: 3.098 MB / 454.9 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.1398, allocations: 221.4 kB / 455.2 MB, free: 448 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.848, allocations: 0 / 455.2 MB, free: 448 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat