Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 96.12 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 175 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4109/0.4109, allocations: 43.55 MB / 314.5 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005335/0.0005336, allocations: 12 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1322, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002985/0.1352, allocations: 2.258 MB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1366, allocations: 0.7531 MB / 445.9 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.1368, allocations: 4 kB / 445.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.475e-05/0.1369, allocations: 47.62 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.1372, allocations: 127.6 kB / 446 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1374, allocations: 67.94 kB / 446.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.1378, allocations: 315.7 kB / 446.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.1381, allocations: 133.4 kB / 446.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1383, allocations: 143.5 kB / 446.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1386, allocations: 155.2 kB / 446.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.1386, allocations: 20 kB / 446.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.955e-05/0.1387, allocations: 20 kB / 446.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.1387, allocations: 71.73 kB / 446.9 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.1388, allocations: 93.52 kB / 447 MB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.1391, allocations: 319.3 kB / 447.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1392, allocations: 0 / 447.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1392, allocations: 0 / 447.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1392, allocations: 3.938 kB / 447.3 MB, free: 8.441 MB / 382.1 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.0009264/0.1401, allocations: 0.6082 MB / 448 MB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.1402, allocations: 12.03 kB / 448 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.643e-05/0.1403, allocations: 74.53 kB / 448 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.1404, allocations: 39.53 kB / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1407, allocations: 291.3 kB / 448.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.1407, allocations: 25 kB / 448.4 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.1408, allocations: 43.91 kB / 448.4 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.1415, allocations: 381 kB / 448.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.1415, allocations: 7.984 kB / 448.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.1415, allocations: 19.95 kB / 448.8 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.1416, allocations: 11.94 kB / 448.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.1421, allocations: 263.8 kB / 449.1 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.1437, allocations: 1.109 MB / 450.2 MB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.1443, allocations: 355.5 kB / 450.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.1443, allocations: 4 kB / 450.6 MB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1443, allocations: 42.55 kB / 450.6 MB, free: 4.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 3.016e-06/0.1443, allocations: 0 / 450.6 MB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.004149/0.1485, allocations: 2.466 MB / 453.1 MB, free: 2.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.1486, allocations: 110.8 kB / 453.2 MB, free: 2.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1489, allocations: 242.6 kB / 453.4 MB, free: 1.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.1489, allocations: 37.7 kB / 453.4 MB, free: 1.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1491, allocations: 180.7 kB / 453.6 MB, free: 1.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.1492, allocations: 205 kB / 453.8 MB, free: 1.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.1493, allocations: 11.94 kB / 453.8 MB, free: 1.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1495, allocations: 342.8 kB / 454.2 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.1498, allocations: 141 kB / 454.3 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.1501, allocations: 235.8 kB / 454.5 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.1504, allocations: 160 kB / 454.7 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.1505, allocations: 4 kB / 454.7 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.2467/0.3972, allocations: 0.5671 MB / 455.3 MB, free: 45.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.3973, allocations: 8.625 kB / 455.3 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3973, allocations: 3.062 kB / 455.3 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.3977, allocations: 122.7 kB / 455.4 MB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.3981, allocations: 98.97 kB / 455.5 MB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.4011, allocations: 4.713 MB / 460.2 MB, free: 41.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.4014, allocations: 19.59 kB / 460.2 MB, free: 41.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.4015, allocations: 21.61 kB / 460.2 MB, free: 41.73 MB / 382.1 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 () * Number of clocked 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.0002005/0.4017, allocations: 168.5 kB / 460.4 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/0.4018, allocations: 34.12 kB / 460.4 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.597e-05/0.4019, allocations: 52.06 kB / 460.5 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4019, allocations: 5.219 kB / 460.5 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.4019, allocations: 2.719 kB / 460.5 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4019, allocations: 6.172 kB / 460.5 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.4036, allocations: 1.339 MB / 461.8 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4036, allocations: 6.781 kB / 461.9 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.404, allocations: 102 kB / 462 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.4042, allocations: 93.77 kB / 462 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.4043, allocations: 16.23 kB / 462.1 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.4065, allocations: 4.141 MB / 466.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4065, allocations: 0 / 466.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.4076, allocations: 0.9964 MB / 467.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.4077, allocations: 111.9 kB / 467.3 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.4077, allocations: 9.5 kB / 467.3 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.408, allocations: 21.02 kB / 467.3 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4081, allocations: 48.48 kB / 467.4 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.4081, allocations: 15.09 kB / 467.4 MB, free: 36.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.4082, allocations: 173.1 kB / 467.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4082, allocations: 0 / 467.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006782/0.4089, allocations: 121.6 kB / 467.7 MB, free: 36.64 MB / 382.1 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 () * Number of clocked 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.001399/0.4103, allocations: 1.893 MB / 469.6 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.4118, allocations: 0.7696 MB / 470.3 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4118, allocations: 0 / 470.3 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007124/0.4125, allocations: 0.5823 MB / 470.9 MB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.413, allocations: 44.22 kB / 471 MB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.417, allocations: 4.342 MB / 475.3 MB, free: 31.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.4173, allocations: 0.8277 MB / 476.1 MB, free: 31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.4174, allocations: 34.92 kB / 476.2 MB, free: 31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.4176, allocations: 132 kB / 476.3 MB, free: 30.99 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4176, allocations: 0 / 476.3 MB, free: 30.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.4384, allocations: 7.442 MB / 483.7 MB, free: 30.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.4387, allocations: 201.2 kB / 483.9 MB, free: 30.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.397, allocations: 0 / 483.9 MB, free: 30.11 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat