Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008448/0.0008448, allocations: 102 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1862/0.1862, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.235e-05, allocations: 7.125 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 63.24 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5398, allocations: 86.15 MB / 0.5886 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5401, allocations: 61.34 kB / 0.5886 GB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005632/0.5458, allocations: 2.063 MB / 0.5907 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5458, allocations: 0 / 0.5907 GB, free: 14.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.5458, allocations: 4 kB / 0.5907 GB, free: 14.27 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.000476/0.5463, allocations: 372.5 kB / 0.591 GB, free: 13.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.5464, allocations: 12.03 kB / 0.591 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.5464, allocations: 7.906 kB / 0.591 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.5466, allocations: 182.8 kB / 0.5912 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.5466, allocations: 4 kB / 0.5912 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.5467, allocations: 11.06 kB / 0.5912 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001261/0.5468, allocations: 54.75 kB / 0.5913 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.547, allocations: 114.6 kB / 0.5914 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.547, allocations: 0 / 0.5914 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.547, allocations: 0 / 0.5914 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.5471, allocations: 4 kB / 0.5914 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.5478, allocations: 0.5093 MB / 0.5919 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5479, allocations: 82.23 kB / 0.592 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.548, allocations: 25.09 kB / 0.592 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.548, allocations: 4 kB / 0.592 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.548, allocations: 30.56 kB / 0.592 GB, free: 12.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.548, allocations: 0 / 0.592 GB, free: 12.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003084/0.5483, allocations: 97.42 kB / 0.5921 GB, free: 12.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.5484, allocations: 83.84 kB / 0.5922 GB, free: 12.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.5485, allocations: 122.9 kB / 0.5923 GB, free: 12.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.5486, allocations: 25.7 kB / 0.5923 GB, free: 12.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.5486, allocations: 111 kB / 0.5924 GB, free: 12.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.5487, allocations: 30.55 kB / 0.5925 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.5487, allocations: 0 / 0.5925 GB, free: 12.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5488, allocations: 326.3 kB / 0.5928 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.5489, allocations: 26.75 kB / 0.5928 GB, free: 12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.5489, allocations: 80.08 kB / 0.5929 GB, free: 11.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.549, allocations: 31.62 kB / 0.5929 GB, free: 11.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.549, allocations: 4 kB / 0.5929 GB, free: 11.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002282/0.5492, allocations: 146.2 kB / 0.5931 GB, free: 11.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5493, allocations: 8.031 kB / 0.5931 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5493, allocations: 4 kB / 0.5931 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.5495, allocations: 40.03 kB / 0.5931 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5496, allocations: 19.94 kB / 0.5931 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.5514, allocations: 2.442 MB / 0.5955 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.5515, allocations: 3.906 kB / 0.5955 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.5515, allocations: 11.98 kB / 0.5955 GB, free: 9.059 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 (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 8.708e-05/0.5516, allocations: 108.9 kB / 0.5956 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000192/0.5518, allocations: 95.03 kB / 0.5957 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.5519, allocations: 14.81 kB / 0.5957 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.5519, allocations: 23.08 kB / 0.5958 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5519, allocations: 3.938 kB / 0.5958 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.5519, allocations: 0 / 0.5958 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5519, allocations: 4 kB / 0.5958 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.5522, allocations: 175.5 kB / 0.5959 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5522, allocations: 0 / 0.5959 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-05/0.5523, allocations: 12 kB / 0.5959 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.673e-05/0.5524, allocations: 32.33 kB / 0.596 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.5524, allocations: 8 kB / 0.596 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.5541, allocations: 2.418 MB / 0.5983 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5541, allocations: 0 / 0.5983 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.5544, allocations: 315.6 kB / 0.5986 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.5544, allocations: 81.02 kB / 0.5987 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.5545, allocations: 4 kB / 0.5987 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.5545, allocations: 4 kB / 0.5987 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.5546, allocations: 11.98 kB / 0.5987 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.5546, allocations: 4 kB / 0.5987 GB, free: 5.555 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.795e-05/0.5547, allocations: 98.52 kB / 0.5988 GB, free: 5.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5547, allocations: 0 / 0.5988 GB, free: 5.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003502/0.555, allocations: 31.94 kB / 0.5989 GB, free: 5.434 MB / 394.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.0006263/0.5557, allocations: 0.9059 MB / 0.5997 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.5561, allocations: 270 kB / 0.6 GB, free: 4.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5561, allocations: 0 / 0.6 GB, free: 4.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.5563, allocations: 243.1 kB / 0.6002 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.5567, allocations: 29.66 kB / 0.6003 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.5575, allocations: 441.7 kB / 0.6007 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.5579, allocations: 0.7162 MB / 0.6014 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.5579, allocations: 4.891 kB / 0.6014 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.558, allocations: 30.67 kB / 0.6014 GB, free: 2.758 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.558, allocations: 0 / 0.6014 GB, free: 2.758 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.582, allocations: 2.218 MB / 0.6036 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.5823, allocations: 145.8 kB / 0.6037 GB, free: 368 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.104, allocations: 0 / 0.6037 GB, free: 368 kB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat