Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.4 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 91.98 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1919/0.1919, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.859e-05, allocations: 8.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3996/0.5209, allocations: 85.76 MB / 0.5855 GB, free: 3.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.5212, allocations: 67.95 kB / 0.5856 GB, free: 3.457 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005377/0.5266, allocations: 2.078 MB / 0.5876 GB, free: 1.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5266, allocations: 0 / 0.5876 GB, free: 1.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.5266, allocations: 4 kB / 0.5876 GB, free: 1.391 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003966/0.527, allocations: 378.5 kB / 0.588 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.5271, allocations: 11.97 kB / 0.588 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.5271, allocations: 42.56 kB / 0.5881 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.5272, allocations: 15.89 kB / 0.5881 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.5273, allocations: 174.9 kB / 0.5882 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.5273, allocations: 8.234 kB / 0.5882 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.5274, allocations: 15.95 kB / 0.5883 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.5276, allocations: 126.2 kB / 0.5884 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5276, allocations: 0 / 0.5884 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5276, allocations: 8 kB / 0.5884 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5277, allocations: 4 kB / 0.5884 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.5278, allocations: 55.92 kB / 0.5884 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.5285, allocations: 0.5412 MB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.5287, allocations: 89.08 kB / 0.5891 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.5287, allocations: 25.67 kB / 0.5891 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.5287, allocations: 4 kB / 0.5891 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5288, allocations: 42.8 kB / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.5288, allocations: 0 / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003222/0.5291, allocations: 103.2 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.5292, allocations: 85.05 kB / 0.5893 GB, free: 15.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.5293, allocations: 119.5 kB / 0.5894 GB, free: 15.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.5293, allocations: 28.66 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.5293, allocations: 123.6 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.5294, allocations: 35.45 kB / 0.5896 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.5294, allocations: 4 kB / 0.5896 GB, free: 15.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5295, allocations: 322.8 kB / 0.5899 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.5296, allocations: 20 kB / 0.5899 GB, free: 14.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.857e-05/0.5296, allocations: 82.14 kB / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.56e-05/0.5297, allocations: 39.92 kB / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5297, allocations: 0 / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002595/0.53, allocations: 167 kB / 0.5902 GB, free: 14.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.53, allocations: 4 kB / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.53, allocations: 4 kB / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.5302, allocations: 33.97 kB / 0.5902 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.5303, allocations: 27.98 kB / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.5322, allocations: 2.54 MB / 0.5928 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.5323, allocations: 4 kB / 0.5928 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.5323, allocations: 8 kB / 0.5928 GB, free: 11.57 MB / 410.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 (14): * 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: 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.783e-05/0.5324, allocations: 121 kB / 0.5929 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.5324, allocations: 7.906 kB / 0.5929 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.5324, allocations: 8.031 kB / 0.5929 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5324, allocations: 7.953 kB / 0.5929 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5325, allocations: 3.938 kB / 0.5929 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5325, allocations: 0 / 0.5929 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.5327, allocations: 201.6 kB / 0.5931 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5327, allocations: 0 / 0.5931 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.5328, allocations: 19.98 kB / 0.5931 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.733e-05/0.5329, allocations: 33.72 kB / 0.5931 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.5329, allocations: 7.812 kB / 0.5932 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.5345, allocations: 2.545 MB / 0.5956 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5346, allocations: 4.031 kB / 0.5956 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.5349, allocations: 310.1 kB / 0.5959 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.5349, allocations: 81.14 kB / 0.596 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.535, allocations: 12 kB / 0.596 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.5351, allocations: 0 / 0.596 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.5351, allocations: 7.984 kB / 0.596 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5351, allocations: 4 kB / 0.596 GB, free: 7.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.5352, allocations: 91.28 kB / 0.5961 GB, free: 7.746 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5352, allocations: 0 / 0.5961 GB, free: 7.746 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003277/0.5355, allocations: 39.91 kB / 0.5962 GB, free: 7.707 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005655/0.5361, allocations: 0.9165 MB / 0.5971 GB, free: 6.754 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000385/0.5365, allocations: 297.5 kB / 0.5973 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5365, allocations: 0 / 0.5973 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.5367, allocations: 249.3 kB / 0.5976 GB, free: 6.168 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.537, allocations: 23.94 kB / 0.5976 GB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.5378, allocations: 451.4 kB / 0.598 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.5382, allocations: 0.7163 MB / 0.5987 GB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.921e-05/0.5382, allocations: 12.88 kB / 0.5987 GB, free: 4.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.5383, allocations: 31.42 kB / 0.5988 GB, free: 4.879 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5383, allocations: 0 / 0.5988 GB, free: 4.879 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.5531, allocations: 2.627 MB / 0.6013 GB, free: 2.379 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.5534, allocations: 176.4 kB / 0.6015 GB, free: 2.156 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.161, allocations: 0 / 0.6015 GB, free: 2.156 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat