Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",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.001133/0.001134, allocations: 197.8 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008437/0.0008438, allocations: 87.84 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 45.14 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2013/0.3923, allocations: 69.36 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.4846, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/0.758, allocations: 90.27 MB / 0.592 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.7583, allocations: 63.22 kB / 0.5921 GB, free: 12.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.1225/0.8808, allocations: 45.77 MB / 0.6368 GB, free: 6.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.8808, allocations: 8 kB / 0.6368 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.8809, allocations: 3.938 kB / 0.6368 GB, free: 6.176 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.751e-05/0.8809, allocations: 159.1 kB / 0.6369 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.881, allocations: 4 kB / 0.6369 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.881, allocations: 7.984 kB / 0.6369 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.587e-05/0.881, allocations: 3.906 kB / 0.6369 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.317e-05/0.8811, allocations: 29.39 kB / 0.637 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.8811, allocations: 0 / 0.637 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.8811, allocations: 4 kB / 0.637 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.8811, allocations: 3.938 kB / 0.637 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.964e-05/0.8812, allocations: 122.2 kB / 0.6371 GB, free: 5.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.215e-05/0.8813, allocations: 26.52 kB / 0.6371 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.8813, allocations: 8.953 kB / 0.6371 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.8813, allocations: 0 / 0.6371 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.8813, allocations: 64.23 kB / 0.6372 GB, free: 5.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.8813, allocations: 0 / 0.6372 GB, free: 5.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.8815, allocations: 36.61 kB / 0.6372 GB, free: 5.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.8815, allocations: 77.11 kB / 0.6373 GB, free: 5.512 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.289e-05/0.8816, allocations: 89.03 kB / 0.6374 GB, free: 5.418 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.8816, allocations: 29.64 kB / 0.6374 GB, free: 5.383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.8816, allocations: 80.14 kB / 0.6375 GB, free: 5.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.8816, allocations: 4 kB / 0.6375 GB, free: 5.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-06/0.8816, allocations: 0 / 0.6375 GB, free: 5.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.8817, allocations: 310.8 kB / 0.6378 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-06/0.8817, allocations: 3.5 kB / 0.6378 GB, free: 4.984 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.8818, allocations: 0 / 0.6378 GB, free: 4.984 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.8818, allocations: 8.047 kB / 0.6378 GB, free: 4.977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.8818, allocations: 4 kB / 0.6378 GB, free: 4.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.132e-05/0.8819, allocations: 29.7 kB / 0.6378 GB, free: 4.938 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.8819, allocations: 4 kB / 0.6378 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8819, allocations: 0 / 0.6378 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.8819, allocations: 3.906 kB / 0.6378 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.8819, allocations: 0 / 0.6378 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8819, allocations: 0 / 0.6378 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.8819, allocations: 4 kB / 0.6378 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.8819, allocations: 0 / 0.6378 GB, free: 4.926 MB / 426.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.32e-05/0.882, allocations: 134.7 kB / 0.638 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-06/0.882, allocations: 0 / 0.638 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.8821, allocations: 7 kB / 0.638 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.8821, allocations: 0 / 0.638 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.8821, allocations: 7.844 kB / 0.638 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8821, allocations: 0 / 0.638 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.456e-05/0.8821, allocations: 122.2 kB / 0.6381 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8822, allocations: 3.938 kB / 0.6381 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.8822, allocations: 0 / 0.6381 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8822, allocations: 7.984 kB / 0.6381 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.8822, allocations: 4 kB / 0.6381 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8822, allocations: 7.938 kB / 0.6381 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8822, allocations: 0 / 0.6381 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.64e-05/0.8823, allocations: 63.17 kB / 0.6382 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001746/0.8825, allocations: 448.8 kB / 0.6386 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.8825, allocations: 81.02 kB / 0.6387 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.8825, allocations: 0 / 0.6387 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.8825, allocations: 0 / 0.6387 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.8826, allocations: 3.984 kB / 0.6387 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.8826, allocations: 0 / 0.6387 GB, free: 3.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.188e-05/0.8826, allocations: 79.28 kB / 0.6388 GB, free: 3.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001237/0.8838, allocations: 210.4 kB / 0.639 GB, free: 3.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.00106/0.8849, allocations: 377.7 kB / 0.6393 GB, free: 3.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.396e-05/0.885, allocations: 33.64 kB / 0.6394 GB, free: 3.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.885, allocations: 0 / 0.6394 GB, free: 3.281 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.885, allocations: 29.64 kB / 0.6394 GB, free: 3.246 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.8851, allocations: 7.562 kB / 0.6394 GB, free: 3.242 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001276/0.8852, allocations: 44.06 kB / 0.6394 GB, free: 3.176 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.8855, allocations: 0.6803 MB / 0.6401 GB, free: 2.469 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8855, allocations: 4 kB / 0.6401 GB, free: 2.465 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat