Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001591/0.001591, allocations: 185.8 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001788/0.001788, allocations: 92.42 kB / 270.9 MB, free: 8.371 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.5579/0.5579, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004673, allocations: 8 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1322, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.467/0.5993, allocations: 85 MB / 0.5618 GB, free: 1.578 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.5996, allocations: 63.97 kB / 0.5619 GB, free: 1.516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01201/0.6116, allocations: 2.61 MB / 0.5644 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.6117, allocations: 0 / 0.5644 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.6117, allocations: 4 kB / 0.5644 GB, free: 14.93 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.0007166/0.6124, allocations: 431 kB / 0.5649 GB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6125, allocations: 12.03 kB / 0.5649 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.6126, allocations: 49.92 kB / 0.5649 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.6126, allocations: 23.16 kB / 0.5649 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.6128, allocations: 182.9 kB / 0.5651 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.6129, allocations: 20.05 kB / 0.5651 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.6129, allocations: 12 kB / 0.5651 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.6134, allocations: 168.6 kB / 0.5653 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.6134, allocations: 7.906 kB / 0.5653 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.6134, allocations: 8 kB / 0.5653 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6135, allocations: 8 kB / 0.5653 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.6137, allocations: 92.91 kB / 0.5654 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.615, allocations: 0.615 MB / 0.566 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.6154, allocations: 127 kB / 0.5661 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.6154, allocations: 4 kB / 0.5661 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.6155, allocations: 30.56 kB / 0.5662 GB, free: 12.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.868e-06/0.6155, allocations: 4 kB / 0.5662 GB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.00124/0.6167, allocations: 377.4 kB / 0.5665 GB, free: 12.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.6168, allocations: 89.09 kB / 0.5666 GB, free: 12.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.617, allocations: 117.3 kB / 0.5667 GB, free: 12.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.617, allocations: 25.7 kB / 0.5667 GB, free: 12.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.6171, allocations: 194.4 kB / 0.5669 GB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.6172, allocations: 59.19 kB / 0.567 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.6172, allocations: 4 kB / 0.567 GB, free: 12.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6174, allocations: 318.8 kB / 0.5673 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.6175, allocations: 40.73 kB / 0.5673 GB, free: 11.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.6177, allocations: 101.5 kB / 0.5674 GB, free: 11.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.6178, allocations: 52.38 kB / 0.5675 GB, free: 11.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.6179, allocations: 3.938 kB / 0.5675 GB, free: 11.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000617/0.6185, allocations: 223.1 kB / 0.5677 GB, free: 11.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6185, allocations: 8 kB / 0.5677 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6186, allocations: 4 kB / 0.5677 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003259/0.6189, allocations: 49.69 kB / 0.5678 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.6192, allocations: 35.92 kB / 0.5678 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.6223, allocations: 2.736 MB / 0.5705 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.6225, allocations: 15.84 kB / 0.5705 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.6225, allocations: 8 kB / 0.5705 GB, free: 8.148 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 () * 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.0001914/0.6227, allocations: 137.9 kB / 0.5706 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.6228, allocations: 18.92 kB / 0.5706 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.6229, allocations: 16.72 kB / 0.5707 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.6229, allocations: 4 kB / 0.5707 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.6229, allocations: 0 / 0.5707 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6229, allocations: 0 / 0.5707 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.6234, allocations: 233.5 kB / 0.5709 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6234, allocations: 0 / 0.5709 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.6237, allocations: 24.86 kB / 0.5709 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.624, allocations: 53.64 kB / 0.571 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.624, allocations: 11.94 kB / 0.571 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.6271, allocations: 2.72 MB / 0.5736 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.6272, allocations: 8 kB / 0.5736 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.6279, allocations: 383.4 kB / 0.574 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/0.628, allocations: 88.97 kB / 0.5741 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.628, allocations: 8.062 kB / 0.5741 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.6282, allocations: 4 kB / 0.5741 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.6283, allocations: 11.98 kB / 0.5741 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6283, allocations: 4 kB / 0.5741 GB, free: 4.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.956e-05/0.6284, allocations: 102.9 kB / 0.5742 GB, free: 3.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6284, allocations: 0 / 0.5742 GB, free: 3.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006287/0.629, allocations: 55.84 kB / 0.5743 GB, free: 3.918 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 () * 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.001136/0.6302, allocations: 0.9857 MB / 0.5752 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008371/0.6311, allocations: 351.7 kB / 0.5756 GB, free: 2.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6311, allocations: 0 / 0.5756 GB, free: 2.535 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.6316, allocations: 289.9 kB / 0.5758 GB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.6322, allocations: 33.89 kB / 0.5759 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.636, allocations: 2.724 MB / 0.5785 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.6365, allocations: 0.7281 MB / 0.5792 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.6366, allocations: 43.42 kB / 0.5793 GB, free: 14.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6366, allocations: 0 / 0.5793 GB, free: 14.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.443, allocations: 3.726 MB / 0.5829 GB, free: 10.86 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat