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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 183.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009771/0.000977, allocations: 94.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3102/0.3102, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 58.86 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.6031, allocations: 85 MB / 0.5619 GB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.6035, allocations: 67.44 kB / 0.5619 GB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007094/0.6106, allocations: 2.611 MB / 0.5645 GB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6106, allocations: 0 / 0.5645 GB, free: 12.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.6106, allocations: 4 kB / 0.5645 GB, free: 12.45 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.0005396/0.6112, allocations: 427 kB / 0.5649 GB, free: 12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.6113, allocations: 12.03 kB / 0.5649 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.871e-05/0.6113, allocations: 49.86 kB / 0.5649 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.6114, allocations: 15.81 kB / 0.565 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.6115, allocations: 184.7 kB / 0.5651 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.6116, allocations: 15.77 kB / 0.5651 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.6116, allocations: 19.8 kB / 0.5652 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.6119, allocations: 168.3 kB / 0.5653 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6119, allocations: 7.891 kB / 0.5653 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.612, allocations: 7.625 kB / 0.5653 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.612, allocations: 4 kB / 0.5653 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.6121, allocations: 92.77 kB / 0.5654 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.613, allocations: 0.6161 MB / 0.566 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.6132, allocations: 124.6 kB / 0.5662 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.6132, allocations: 8.125 kB / 0.5662 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.6132, allocations: 39.36 kB / 0.5662 GB, free: 10.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.6132, allocations: 0 / 0.5662 GB, free: 10.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008057/0.6141, allocations: 381.9 kB / 0.5666 GB, free: 10.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.6141, allocations: 84.92 kB / 0.5666 GB, free: 10.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.6142, allocations: 111.5 kB / 0.5668 GB, free: 10.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.6143, allocations: 29.2 kB / 0.5668 GB, free: 10.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.6144, allocations: 133.4 kB / 0.5669 GB, free: 9.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.6144, allocations: 57.95 kB / 0.567 GB, free: 9.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.6144, allocations: 3.688 kB / 0.567 GB, free: 9.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6146, allocations: 322.5 kB / 0.5673 GB, free: 9.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.6146, allocations: 38.48 kB / 0.5673 GB, free: 9.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.6147, allocations: 99.25 kB / 0.5674 GB, free: 9.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.208e-05/0.6148, allocations: 53.5 kB / 0.5675 GB, free: 9.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6148, allocations: 0 / 0.5675 GB, free: 9.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003316/0.6152, allocations: 225.9 kB / 0.5677 GB, free: 9.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6152, allocations: 10.66 kB / 0.5677 GB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6152, allocations: 0 / 0.5677 GB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.6154, allocations: 44.7 kB / 0.5677 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.6156, allocations: 44.16 kB / 0.5678 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.6177, allocations: 2.735 MB / 0.5704 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.6178, allocations: 23.5 kB / 0.5705 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.6178, allocations: 8.469 kB / 0.5705 GB, free: 6.223 MB / 378.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 () * Number of clocked 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.0001197/0.618, allocations: 137.5 kB / 0.5706 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.618, allocations: 11.86 kB / 0.5706 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.6181, allocations: 22.14 kB / 0.5706 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.6181, allocations: 0 / 0.5706 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6181, allocations: 3.938 kB / 0.5706 GB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6181, allocations: 7.938 kB / 0.5706 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.6184, allocations: 222.1 kB / 0.5709 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6184, allocations: 4 kB / 0.5709 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.6186, allocations: 31.61 kB / 0.5709 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.6187, allocations: 40.52 kB / 0.5709 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.6187, allocations: 11.77 kB / 0.5709 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.6207, allocations: 2.734 MB / 0.5736 GB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6207, allocations: 0 / 0.5736 GB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.6212, allocations: 383 kB / 0.574 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.6212, allocations: 90.22 kB / 0.5741 GB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.6213, allocations: 5.609 kB / 0.5741 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.6214, allocations: 5.688 kB / 0.5741 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.6214, allocations: 9.859 kB / 0.5741 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.6214, allocations: 4.938 kB / 0.5741 GB, free: 2.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.005e-05/0.6215, allocations: 99.17 kB / 0.5742 GB, free: 2.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6215, allocations: 0 / 0.5742 GB, free: 2.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.622, allocations: 61.78 kB / 0.5742 GB, free: 2.238 MB / 378.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 () * Number of clocked 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.0007825/0.6228, allocations: 0.9859 MB / 0.5752 GB, free: 1.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005733/0.6234, allocations: 340.4 kB / 0.5755 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6234, allocations: 0 / 0.5755 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.6237, allocations: 293 kB / 0.5758 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.6242, allocations: 38.91 kB / 0.5758 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.6266, allocations: 2.679 MB / 0.5785 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.627, allocations: 0.732 MB / 0.5792 GB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.301e-05/0.627, allocations: 9.422 kB / 0.5792 GB, free: 13.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.6271, allocations: 38.67 kB / 0.5792 GB, free: 13.17 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6271, allocations: 4 kB / 0.5792 GB, free: 13.17 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.645, allocations: 3.318 MB / 0.5825 GB, free: 9.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.6453, allocations: 225.5 kB / 0.5827 GB, free: 9.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.379, allocations: 0 / 0.5827 GB, free: 9.66 MB / 394.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