Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",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.001699/0.001699, allocations: 179.6 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.456/1.456, allocations: 221.3 MB / 236 MB, free: 2.953 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.0008839/0.0008837, allocations: 96.03 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.2399/0.2399, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.88e-05, allocations: 4.219 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 61.93 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.505, allocations: 87.99 MB / 0.5877 GB, free: 1.281 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5053, allocations: 71.97 kB / 0.5878 GB, free: 1.211 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02004/0.5254, allocations: 6.449 MB / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5255, allocations: 0 / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.5255, allocations: 8 kB / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009615/0.5265, allocations: 0.5727 MB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.5265, allocations: 12.03 kB / 0.5947 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.589e-05/0.5266, allocations: 78.52 kB / 0.5947 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.5267, allocations: 47.44 kB / 0.5948 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.5271, allocations: 279.3 kB / 0.5951 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.5271, allocations: 28.78 kB / 0.5951 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.5272, allocations: 43.91 kB / 0.5951 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.5278, allocations: 350.3 kB / 0.5955 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.5279, allocations: 0 / 0.5955 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.5279, allocations: 19.94 kB / 0.5955 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.5279, allocations: 10.95 kB / 0.5955 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.5283, allocations: 212 kB / 0.5957 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.53, allocations: 1.109 MB / 0.5968 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.5305, allocations: 336 kB / 0.5971 GB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.5308, allocations: 162.6 kB / 0.5972 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.5308, allocations: 7.938 kB / 0.5973 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.5308, allocations: 42.56 kB / 0.5973 GB, free: 7.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/0.5309, allocations: 0 / 0.5973 GB, free: 7.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.003367/0.5342, allocations: 2.265 MB / 0.5995 GB, free: 4.707 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.5343, allocations: 114.8 kB / 0.5996 GB, free: 4.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.5346, allocations: 207 kB / 0.5998 GB, free: 4.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.5346, allocations: 37.7 kB / 0.5999 GB, free: 4.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5347, allocations: 180.6 kB / 0.6 GB, free: 4.133 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.5349, allocations: 193.1 kB / 0.6002 GB, free: 3.941 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.5349, allocations: 16 kB / 0.6002 GB, free: 3.926 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5351, allocations: 342.8 kB / 0.6005 GB, free: 3.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.5353, allocations: 117.1 kB / 0.6007 GB, free: 3.469 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.5355, allocations: 211.9 kB / 0.6009 GB, free: 3.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.5358, allocations: 146.6 kB / 0.601 GB, free: 3.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5358, allocations: 7.891 kB / 0.601 GB, free: 3.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008395/0.5366, allocations: 0.5149 MB / 0.6015 GB, free: 2.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.5366, allocations: 4 kB / 0.6015 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5367, allocations: 4 kB / 0.6015 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.537, allocations: 130.7 kB / 0.6016 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.5374, allocations: 103.8 kB / 0.6017 GB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.5416, allocations: 4.665 MB / 0.6063 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.5419, allocations: 23.98 kB / 0.6063 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.5419, allocations: 19.94 kB / 0.6063 GB, free: 13.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.5421, allocations: 140.9 kB / 0.6065 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5422, allocations: 31.62 kB / 0.6065 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.5423, allocations: 49.95 kB / 0.6066 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5423, allocations: 8 kB / 0.6066 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.5424, allocations: 3.953 kB / 0.6066 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.5424, allocations: 7.984 kB / 0.6066 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.5443, allocations: 1.294 MB / 0.6078 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5443, allocations: 4 kB / 0.6078 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.5447, allocations: 100.1 kB / 0.6079 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.545, allocations: 98.55 kB / 0.608 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.545, allocations: 16 kB / 0.608 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.548, allocations: 4.096 MB / 0.612 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5481, allocations: 32 / 0.612 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.5492, allocations: 0.951 MB / 0.613 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.5493, allocations: 104.7 kB / 0.6131 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.5493, allocations: 20.12 kB / 0.6131 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.5496, allocations: 20 kB / 0.6131 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.5497, allocations: 55.78 kB / 0.6132 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.5497, allocations: 16 kB / 0.6132 GB, free: 5.617 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.5499, allocations: 167.1 kB / 0.6133 GB, free: 5.449 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5499, allocations: 0 / 0.6133 GB, free: 5.449 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006422/0.5505, allocations: 124 kB / 0.6135 GB, free: 5.328 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/0.5521, allocations: 1.833 MB / 0.6152 GB, free: 3.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.5532, allocations: 0.7228 MB / 0.616 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5532, allocations: 0 / 0.616 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006498/0.5538, allocations: 0.5526 MB / 0.6165 GB, free: 2.086 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.5543, allocations: 50.12 kB / 0.6165 GB, free: 2.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.556, allocations: 1.009 MB / 0.6175 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.5565, allocations: 0.832 MB / 0.6183 GB, free: 116 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.5566, allocations: 35.28 kB / 0.6184 GB, free: 80 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.5568, allocations: 131.5 kB / 0.6185 GB, free: 15.95 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5568, allocations: 0 / 0.6185 GB, free: 15.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.5772, allocations: 7.485 MB / 0.6258 GB, free: 8.59 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.5774, allocations: 175.8 kB / 0.626 GB, free: 8.367 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.724, allocations: 4 kB / 0.626 GB, free: 8.363 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat