Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.001686/0.001686, allocations: 203.4 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 94.89 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.2168/0.2168, allocations: 45.15 MB / 383.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2977/0.5146, allocations: 69.36 MB / 452.7 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.653, allocations: 63.24 MB / 0.5039 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4865/1.14, allocations: 86.42 MB / 0.5883 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/1.14, allocations: 63.09 kB / 0.5883 GB, free: 0.7305 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.008148/1.148, allocations: 2.76 MB / 0.591 GB, free: 14.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/1.148, allocations: 12 kB / 0.591 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/1.148, allocations: 18.5 kB / 0.591 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/1.148, allocations: 182.8 kB / 0.5912 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/1.148, allocations: 8 kB / 0.5912 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/1.148, allocations: 12 kB / 0.5912 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002527/1.149, allocations: 72.39 kB / 0.5913 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/1.149, allocations: 138.4 kB / 0.5914 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.149, allocations: 11.02 kB / 0.5914 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/1.149, allocations: 0 / 0.5914 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/1.149, allocations: 4 kB / 0.5914 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/1.15, allocations: 0.5679 MB / 0.592 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/1.151, allocations: 95.64 kB / 0.5921 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/1.151, allocations: 52.81 kB / 0.5921 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/1.151, allocations: 0 / 0.5921 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/1.151, allocations: 30.56 kB / 0.5922 GB, free: 13.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/1.151, allocations: 6.734 kB / 0.5922 GB, free: 13.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005602/1.151, allocations: 133 kB / 0.5923 GB, free: 13.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/1.151, allocations: 89.02 kB / 0.5924 GB, free: 13.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.152, allocations: 125.9 kB / 0.5925 GB, free: 12.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.152, allocations: 25.7 kB / 0.5925 GB, free: 12.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/1.152, allocations: 126.6 kB / 0.5927 GB, free: 12.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/1.152, allocations: 49.45 kB / 0.5927 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/1.152, allocations: 0 / 0.5927 GB, free: 12.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/1.152, allocations: 324.8 kB / 0.593 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/1.152, allocations: 29 kB / 0.593 GB, free: 12.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/1.152, allocations: 101.1 kB / 0.5931 GB, free: 12.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/1.152, allocations: 51.14 kB / 0.5932 GB, free: 12.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.152, allocations: 0 / 0.5932 GB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000507/1.153, allocations: 198.9 kB / 0.5934 GB, free: 12.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.153, allocations: 11.31 kB / 0.5934 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.153, allocations: 4 kB / 0.5934 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/1.153, allocations: 48.5 kB / 0.5934 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/1.153, allocations: 38.98 kB / 0.5935 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/1.156, allocations: 2.591 MB / 0.596 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/1.156, allocations: 11.84 kB / 0.596 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/1.157, allocations: 11.81 kB / 0.596 GB, free: 9.191 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.157, allocations: 113 kB / 0.5961 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/1.157, allocations: 11.91 kB / 0.5961 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/1.157, allocations: 15.72 kB / 0.5962 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.157, allocations: 4 kB / 0.5962 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.157, allocations: 3.938 kB / 0.5962 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.157, allocations: 192 / 0.5962 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/1.157, allocations: 199.8 kB / 0.5964 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.157, allocations: 3.938 kB / 0.5964 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/1.157, allocations: 30.73 kB / 0.5964 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/1.158, allocations: 44.02 kB / 0.5964 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/1.158, allocations: 3.125 kB / 0.5964 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/1.16, allocations: 2.593 MB / 0.599 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.16, allocations: 4 kB / 0.599 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005889/1.161, allocations: 367.9 kB / 0.5993 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008463/1.162, allocations: 0.7592 MB / 0.6001 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/1.162, allocations: 96.8 kB / 0.6002 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/1.162, allocations: 7.438 kB / 0.6002 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/1.162, allocations: 0 / 0.6002 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/1.162, allocations: 7.984 kB / 0.6002 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/1.162, allocations: 4 kB / 0.6002 GB, free: 4.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.671e-05/1.162, allocations: 97.83 kB / 0.6003 GB, free: 4.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00198/1.164, allocations: 47.84 kB / 0.6003 GB, free: 4.672 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001924/1.165, allocations: 95.25 kB / 0.6004 GB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007031/1.165, allocations: 311 kB / 0.6007 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.165, allocations: 0 / 0.6007 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/1.166, allocations: 254 kB / 0.6009 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/1.166, allocations: 25.83 kB / 0.601 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/1.168, allocations: 0.5534 MB / 0.6015 GB, free: 3.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/1.168, allocations: 0.746 MB / 0.6022 GB, free: 2.664 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/1.168, allocations: 0 / 0.6022 GB, free: 2.664 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat