Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001376, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 94.84 kB / 286.3 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 45.14 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3229/0.5535, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.6995, allocations: 63.25 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/1.125, allocations: 88.68 MB / 0.5905 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1.126, allocations: 75.89 kB / 0.5905 GB, free: 14.05 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01495/1.141, allocations: 5.126 MB / 0.5956 GB, free: 9.723 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.141, allocations: 8 kB / 0.5956 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/1.141, allocations: 11.81 kB / 0.5956 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/1.141, allocations: 212.3 kB / 0.5958 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/1.141, allocations: 3.984 kB / 0.5958 GB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/1.141, allocations: 7.906 kB / 0.5958 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.625e-05/1.141, allocations: 11.06 kB / 0.5958 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/1.141, allocations: 45.25 kB / 0.5958 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/1.141, allocations: 4 kB / 0.5958 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.141, allocations: 0 / 0.5958 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.141, allocations: 0 / 0.5958 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/1.142, allocations: 271.5 kB / 0.5961 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.482e-05/1.142, allocations: 32.58 kB / 0.5961 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/1.142, allocations: 12.05 kB / 0.5961 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/1.142, allocations: 8 kB / 0.5962 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.142, allocations: 30.56 kB / 0.5962 GB, free: 9.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/1.142, allocations: 0 / 0.5962 GB, free: 9.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006851/1.143, allocations: 155.1 kB / 0.5963 GB, free: 8.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.143, allocations: 51.41 kB / 0.5964 GB, free: 8.812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/1.143, allocations: 198.5 kB / 0.5966 GB, free: 8.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/1.143, allocations: 25.7 kB / 0.5966 GB, free: 8.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/1.143, allocations: 91.98 kB / 0.5967 GB, free: 8.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/1.143, allocations: 27.45 kB / 0.5967 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/1.143, allocations: 0 / 0.5967 GB, free: 8.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/1.143, allocations: 322.4 kB / 0.597 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/1.144, allocations: 14.06 kB / 0.597 GB, free: 8.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/1.144, allocations: 11.75 kB / 0.597 GB, free: 8.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/1.144, allocations: 27.52 kB / 0.5971 GB, free: 8.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/1.144, allocations: 0 / 0.5971 GB, free: 8.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001486/1.144, allocations: 71.22 kB / 0.5971 GB, free: 8.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.144, allocations: 8 kB / 0.5971 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/1.144, allocations: 0 / 0.5971 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.144, allocations: 0 / 0.5971 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/1.144, allocations: 31.17 kB / 0.5972 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.144, allocations: 0 / 0.5972 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/1.144, allocations: 17.03 kB / 0.5972 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/1.144, allocations: 0 / 0.5972 GB, free: 8.02 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.301e-05/1.144, allocations: 101 kB / 0.5973 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/1.144, allocations: 15.81 kB / 0.5973 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/1.145, allocations: 98.36 kB / 0.5974 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.145, allocations: 4 kB / 0.5974 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.145, allocations: 0 / 0.5974 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.145, allocations: 3.938 kB / 0.5974 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/1.145, allocations: 371.4 kB / 0.5978 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.145, allocations: 0 / 0.5978 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/1.145, allocations: 23.92 kB / 0.5978 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.145, allocations: 0 / 0.5978 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/1.145, allocations: 4 kB / 0.5978 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/1.145, allocations: 4.031 kB / 0.5978 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.145, allocations: 3.906 kB / 0.5978 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002538/1.146, allocations: 191.9 kB / 0.598 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004215/1.146, allocations: 0.5706 MB / 0.5985 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/1.146, allocations: 92.2 kB / 0.5986 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/1.146, allocations: 8.188 kB / 0.5986 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/1.146, allocations: 7.984 kB / 0.5986 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/1.146, allocations: 7.984 kB / 0.5986 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/1.147, allocations: 0 / 0.5986 GB, free: 6.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002123/1.147, allocations: 154.5 kB / 0.5988 GB, free: 6.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001064/1.148, allocations: 31.25 kB / 0.5988 GB, free: 6.328 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0007951/1.149, allocations: 334.1 kB / 0.5991 GB, free: 6.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/1.149, allocations: 41.12 kB / 0.5992 GB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.149, allocations: 0 / 0.5992 GB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/1.149, allocations: 35.34 kB / 0.5992 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/1.149, allocations: 11.88 kB / 0.5992 GB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/1.15, allocations: 177.4 kB / 0.5994 GB, free: 5.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/1.15, allocations: 0.7309 MB / 0.6001 GB, free: 5.078 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/1.15, allocations: 0 / 0.6001 GB, free: 5.078 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat does not exist to compare? outputFormat=mat