Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",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 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 174.8 kB / 8.476 MB, free: 1.875 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.2 MB / 214.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008918/0.0008916, allocations: 91.23 kB / 262.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1117/0.1126, allocations: 52.97 MB / 315.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.3814, allocations: 47.56 MB / 362.6 MB, free: 45.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0953/0.4767, allocations: 74.68 MB / 437.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.477, allocations: 74.02 kB / 437.4 MB, free: 11.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.008163/0.4852, allocations: 2.925 MB / 440.3 MB, free: 8.246 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4852, allocations: 13.31 kB / 440.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.4853, allocations: 19.72 kB / 440.3 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.4856, allocations: 207 kB / 440.5 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.4856, allocations: 4 kB / 440.5 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.4856, allocations: 15.98 kB / 440.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000197/0.4858, allocations: 83.92 kB / 440.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.4861, allocations: 153.9 kB / 440.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.4861, allocations: 3.906 kB / 440.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4862, allocations: 0.625 kB / 440.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.4862, allocations: 8 kB / 440.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.4878, allocations: 0.9122 MB / 441.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.488, allocations: 91.67 kB / 441.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.488, allocations: 37.97 kB / 441.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.4881, allocations: 4.281 kB / 441.8 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4881, allocations: 39.11 kB / 441.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.954e-06/0.4881, allocations: 3.938 kB / 441.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003355/0.4885, allocations: 85.58 kB / 442 MB, free: 6.398 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.4885, allocations: 102.8 kB / 442.1 MB, free: 6.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4887, allocations: 146.7 kB / 442.2 MB, free: 6.125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.4888, allocations: 33.69 kB / 442.2 MB, free: 6.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.4889, allocations: 148.6 kB / 442.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.489, allocations: 43.3 kB / 442.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.489, allocations: 0 / 442.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4892, allocations: 326.8 kB / 442.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.4892, allocations: 32.47 kB / 442.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.4894, allocations: 133.2 kB / 442.9 MB, free: 5.352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.4895, allocations: 60.05 kB / 443 MB, free: 5.293 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4895, allocations: 0 / 443 MB, free: 5.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003337/0.4899, allocations: 177.2 kB / 443.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.4899, allocations: 10.53 kB / 443.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4899, allocations: 5.812 kB / 443.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.49, allocations: 4 kB / 443.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.4902, allocations: 55.91 kB / 443.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.4902, allocations: 7.938 kB / 443.2 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.4903, allocations: 19.75 kB / 443.2 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.4904, allocations: 8.406 kB / 443.2 MB, free: 5.008 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.0001296/0.4905, allocations: 121.1 kB / 443.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-05/0.4906, allocations: 11.81 kB / 443.4 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.4907, allocations: 20.11 kB / 443.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4907, allocations: 4 kB / 443.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4907, allocations: 0 / 443.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4907, allocations: 0 / 443.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.4912, allocations: 206.1 kB / 443.6 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4912, allocations: 3.938 kB / 443.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.4914, allocations: 31.97 kB / 443.6 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.4914, allocations: 8 kB / 443.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4914, allocations: 3 kB / 443.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.4914, allocations: 7.938 kB / 443.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4914, allocations: 0 / 443.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004122/0.4918, allocations: 396.3 kB / 444 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005399/0.4924, allocations: 0.776 MB / 444.8 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.4925, allocations: 96.86 kB / 444.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.4925, allocations: 4 kB / 444.9 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.4927, allocations: 3.984 kB / 444.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.4927, allocations: 4 kB / 444.9 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4927, allocations: 4 kB / 444.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001035/0.4928, allocations: 113.1 kB / 445 MB, free: 3.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001068/0.4939, allocations: 35.91 kB / 445.1 MB, free: 3.062 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001566/0.4941, allocations: 103.2 kB / 445.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.4943, allocations: 104.1 kB / 445.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4943, allocations: 0 / 445.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.673e-05/0.4943, allocations: 28.22 kB / 445.3 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.4947, allocations: 27.97 kB / 445.3 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.4957, allocations: 0.5311 MB / 445.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/0.4962, allocations: 0.7656 MB / 446.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4962, allocations: 0 / 446.6 MB, free: 1.453 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat