Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001425/0.001425, allocations: 96.28 kB / 15.69 MB, free: 480 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.001505/0.001505, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.757/1.757, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3056/0.3056, allocations: 43.54 MB / 314.5 MB, free: 8.996 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.0004194/0.0004194, allocations: 12 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1008, allocations: 58.87 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00144/0.1023, allocations: 1.257 MB / 444.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004435/0.1027, allocations: 283.8 kB / 444.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.1028, allocations: 0 / 444.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.103, allocations: 71.78 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.1031, allocations: 55.84 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1033, allocations: 55.88 kB / 444.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.63e-05/0.1034, allocations: 43.88 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.1035, allocations: 20.25 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.1035, allocations: 35.84 kB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.1036, allocations: 31.89 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1036, allocations: 4 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.671e-05/0.1036, allocations: 19.94 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.1037, allocations: 11.98 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.1037, allocations: 33.64 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.691e-05/0.1038, allocations: 67.78 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.1038, allocations: 4 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1038, allocations: 0 / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.1038, allocations: 0 / 444.8 MB, free: 11.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003344/0.1042, allocations: 394.9 kB / 445.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1042, allocations: 12.03 kB / 445.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.331e-05/0.1042, allocations: 30.56 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.1043, allocations: 11.86 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1044, allocations: 186.9 kB / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-06/0.1044, allocations: 8 kB / 445.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1045, allocations: 0 / 445.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1046, allocations: 49.69 kB / 445.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1046, allocations: 0 / 445.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1046, allocations: 3.984 kB / 445.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1046, allocations: 3.953 kB / 445.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.977e-05/0.1047, allocations: 31.92 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.105, allocations: 273 kB / 445.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1051, allocations: 42.56 kB / 445.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1051, allocations: 0 / 445.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.1052, allocations: 34.56 kB / 445.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.1052, allocations: 7.984 kB / 445.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004507/0.1056, allocations: 165.2 kB / 446.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1057, allocations: 55.41 kB / 446.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1059, allocations: 202.2 kB / 446.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1059, allocations: 37.58 kB / 446.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.1059, allocations: 96.14 kB / 446.4 MB, free: 9.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.106, allocations: 27.69 kB / 446.5 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.106, allocations: 0 / 446.5 MB, free: 9.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.1061, allocations: 322.8 kB / 446.8 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.1061, allocations: 23.98 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.1062, allocations: 19.98 kB / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.1063, allocations: 24 kB / 446.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1063, allocations: 3.984 kB / 446.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001659/0.1064, allocations: 89.77 kB / 446.9 MB, free: 8.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1065, allocations: 11.95 kB / 447 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.1065, allocations: 0 / 447 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.1065, allocations: 3.938 kB / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.1066, allocations: 15.98 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1066, allocations: 3.938 kB / 447 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.1066, allocations: 11.94 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.1066, allocations: 0 / 447 MB, free: 8.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.93e-05/0.1067, allocations: 129.8 kB / 447.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.1067, allocations: 11.91 kB / 447.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.1069, allocations: 97.92 kB / 447.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1069, allocations: 4 kB / 447.2 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.107, allocations: 0 / 447.2 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.107, allocations: 0 / 447.2 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.1073, allocations: 362.4 kB / 447.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1073, allocations: 0 / 447.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.1074, allocations: 19.95 kB / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.1074, allocations: 0 / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1074, allocations: 3.984 kB / 447.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1074, allocations: 4 kB / 447.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1074, allocations: 0 / 447.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.1076, allocations: 187.6 kB / 447.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.1077, allocations: 89 kB / 447.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1077, allocations: 11.95 kB / 447.9 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.1078, allocations: 4 kB / 447.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.1078, allocations: 3.984 kB / 447.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1078, allocations: 7.938 kB / 447.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1079, allocations: 164 kB / 448.1 MB, free: 7.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1079, allocations: 4 kB / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.1082, allocations: 16 kB / 448.1 MB, free: 7.609 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001043/0.1092, allocations: 0.9997 MB / 449.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.1094, allocations: 59.91 kB / 449.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1094, allocations: 0 / 449.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.1095, allocations: 35.97 kB / 449.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.1096, allocations: 11.95 kB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/0.1105, allocations: 0.6718 MB / 449.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.1108, allocations: 0.7043 MB / 450.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.1108, allocations: 15.97 kB / 450.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.1109, allocations: 23.44 kB / 450.6 MB, free: 5.023 MB / 382.1 MB Notification: Performance of SimCode: time 1.773e-06/0.1109, allocations: 4 kB / 450.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/0.2376, allocations: 2.274 MB / 452.9 MB, free: 2.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.2379, allocations: 227.3 kB / 453.1 MB, free: 2.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/1.965, allocations: 0 / 453.1 MB, free: 2.496 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat does not exist to compare? outputFormat=mat