Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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) 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 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(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 184.9 kB / 7.799 MB, free: 2.441 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.234/1.234, allocations: 205.2 MB / 213.4 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.001003/0.001003, allocations: 101.8 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1573/0.1573, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1568/0.3142, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.5769, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.686, allocations: 84.17 MB / 0.5477 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.6863, allocations: 63.97 kB / 0.5477 GB, free: 14.69 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.007053/0.6933, allocations: 2.703 MB / 0.5504 GB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.6934, allocations: 12 kB / 0.5504 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.6935, allocations: 19.81 kB / 0.5504 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.6936, allocations: 182.8 kB / 0.5506 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6936, allocations: 8 kB / 0.5506 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.6937, allocations: 8 kB / 0.5506 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001703/0.6939, allocations: 80.52 kB / 0.5507 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.6941, allocations: 141.3 kB / 0.5508 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.6941, allocations: 7.906 kB / 0.5508 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.6942, allocations: 4 kB / 0.5508 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.6942, allocations: 4 kB / 0.5508 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.695, allocations: 0.5726 MB / 0.5514 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.6952, allocations: 95.45 kB / 0.5515 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.6952, allocations: 49.62 kB / 0.5515 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.6953, allocations: 0 / 0.5515 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.6953, allocations: 38.56 kB / 0.5516 GB, free: 10.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.6953, allocations: 4 kB / 0.5516 GB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003795/0.6957, allocations: 127.4 kB / 0.5517 GB, free: 10.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6957, allocations: 85.02 kB / 0.5518 GB, free: 10.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.6959, allocations: 117.2 kB / 0.5519 GB, free: 10.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.6959, allocations: 25.7 kB / 0.5519 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.6959, allocations: 132 kB / 0.552 GB, free: 10.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.696, allocations: 51.2 kB / 0.5521 GB, free: 10.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.696, allocations: 0 / 0.5521 GB, free: 10.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6961, allocations: 322.8 kB / 0.5524 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.6962, allocations: 30.95 kB / 0.5524 GB, free: 9.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.6963, allocations: 108.4 kB / 0.5525 GB, free: 9.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.6964, allocations: 43.89 kB / 0.5526 GB, free: 9.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6964, allocations: 0 / 0.5526 GB, free: 9.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003305/0.6967, allocations: 203 kB / 0.5528 GB, free: 9.289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.6967, allocations: 4 kB / 0.5528 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6968, allocations: 4 kB / 0.5528 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.697, allocations: 45.95 kB / 0.5528 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.6971, allocations: 43.91 kB / 0.5529 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.6992, allocations: 2.589 MB / 0.5554 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.111e-05/0.6993, allocations: 11.84 kB / 0.5554 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.6993, allocations: 8 kB / 0.5554 GB, free: 6.344 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 8.394e-05/0.6994, allocations: 102.7 kB / 0.5555 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.6995, allocations: 19.89 kB / 0.5555 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.6995, allocations: 12.41 kB / 0.5555 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6995, allocations: 4 kB / 0.5555 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6995, allocations: 4.062 kB / 0.5555 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.6995, allocations: 0 / 0.5555 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.6998, allocations: 205.9 kB / 0.5557 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.6998, allocations: 0 / 0.5557 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.7, allocations: 27.98 kB / 0.5558 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.7001, allocations: 45.73 kB / 0.5558 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.7001, allocations: 4 kB / 0.5558 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.7022, allocations: 2.594 MB / 0.5583 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7023, allocations: 4 kB / 0.5583 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004168/0.7027, allocations: 365.7 kB / 0.5587 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000591/0.7033, allocations: 0.7682 MB / 0.5594 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.7034, allocations: 92.86 kB / 0.5595 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.7034, allocations: 0 / 0.5595 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.7035, allocations: 0 / 0.5595 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.7035, allocations: 7.984 kB / 0.5595 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.7035, allocations: 8 kB / 0.5595 GB, free: 1.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.24e-05/0.7036, allocations: 102.9 kB / 0.5596 GB, free: 1.645 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001047/0.7047, allocations: 47.84 kB / 0.5597 GB, free: 1.598 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.0001424/0.7048, allocations: 99.19 kB / 0.5598 GB, free: 1.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.7053, allocations: 320.1 kB / 0.5601 GB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7053, allocations: 4.062 kB / 0.5601 GB, free: 1.152 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.7056, allocations: 251.5 kB / 0.5603 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.7059, allocations: 19.98 kB / 0.5604 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009151/0.7069, allocations: 0.541 MB / 0.5609 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.7073, allocations: 0.7577 MB / 0.5616 GB, free: 15.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.7073, allocations: 0 / 0.5616 GB, free: 15.52 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat