Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.001177/0.001177, allocations: 96.2 kB / 15.68 MB, free: 488 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.001458/0.001458, allocations: 176.3 kB / 16.56 MB, free: 6.375 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.745/1.745, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3813/0.3813, allocations: 43.55 MB / 314.5 MB, free: 9.047 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.000515/0.0005151, allocations: 20 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001604/0.1456, allocations: 1.3 MB / 444.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.1458, allocations: 115.7 kB / 444.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.1459, allocations: 0 / 444.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.1459, allocations: 11.92 kB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.662e-05/0.146, allocations: 39.84 kB / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.1461, allocations: 16 kB / 444.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1462, allocations: 91.8 kB / 444.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1464, allocations: 33.09 kB / 444.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.1464, allocations: 39.84 kB / 444.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.1465, allocations: 39.84 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1465, allocations: 8 kB / 444.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.1466, allocations: 4 kB / 444.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.1466, allocations: 19.92 kB / 444.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.1467, allocations: 45.64 kB / 444.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1468, allocations: 92.02 kB / 444.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1468, allocations: 4 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1468, allocations: 4 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1468, allocations: 0 / 444.7 MB, free: 11.34 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004485/0.1472, allocations: 383.2 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1473, allocations: 11.97 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.1473, allocations: 42.55 kB / 445.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1474, allocations: 19.77 kB / 445.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1476, allocations: 190.9 kB / 445.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1476, allocations: 8.234 kB / 445.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1476, allocations: 19.91 kB / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1478, allocations: 129 kB / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1479, allocations: 3.984 kB / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1479, allocations: 8 kB / 445.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1479, allocations: 4 kB / 445.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.148, allocations: 55.86 kB / 445.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/0.1487, allocations: 0.545 MB / 446.1 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1489, allocations: 85.17 kB / 446.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.1489, allocations: 7.984 kB / 446.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1489, allocations: 34.56 kB / 446.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1489, allocations: 0 / 446.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005549/0.1495, allocations: 305.4 kB / 446.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1495, allocations: 85.05 kB / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.1496, allocations: 117.8 kB / 446.7 MB, free: 9.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1496, allocations: 29.7 kB / 446.7 MB, free: 9.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.1497, allocations: 123.5 kB / 446.9 MB, free: 8.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.1497, allocations: 31.55 kB / 446.9 MB, free: 8.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.1498, allocations: 4 kB / 446.9 MB, free: 8.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1499, allocations: 322.8 kB / 447.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.1499, allocations: 23.98 kB / 447.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.15, allocations: 80.58 kB / 447.3 MB, free: 8.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.607e-05/0.1501, allocations: 35.94 kB / 447.4 MB, free: 8.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1501, allocations: 4 kB / 447.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002561/0.1503, allocations: 171 kB / 447.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1504, allocations: 4.25 kB / 447.5 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1504, allocations: 8 kB / 447.5 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.1505, allocations: 33.7 kB / 447.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.1506, allocations: 24 kB / 447.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.1526, allocations: 2.56 MB / 450.2 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.1527, allocations: 11.84 kB / 450.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.1527, allocations: 4 kB / 450.2 MB, free: 5.25 MB / 382.1 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 (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 0.0001532/0.1529, allocations: 129.7 kB / 450.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.1529, allocations: 7.906 kB / 450.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.153, allocations: 12.09 kB / 450.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.153, allocations: 4 kB / 450.3 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.153, allocations: 3.984 kB / 450.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.153, allocations: 0 / 450.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.1532, allocations: 209.5 kB / 450.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1533, allocations: 0 / 450.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.1533, allocations: 15.98 kB / 450.5 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.049e-05/0.1534, allocations: 33.64 kB / 450.6 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1535, allocations: 8 kB / 450.6 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.1552, allocations: 2.537 MB / 453.1 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1552, allocations: 4.031 kB / 453.1 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.1555, allocations: 314.3 kB / 453.4 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1556, allocations: 85.02 kB / 453.5 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1556, allocations: 3.953 kB / 453.5 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.1557, allocations: 7.984 kB / 453.5 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.1557, allocations: 7.984 kB / 453.5 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1557, allocations: 4 kB / 453.5 MB, free: 1.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.914e-05/0.1558, allocations: 95.7 kB / 453.6 MB, free: 1.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1558, allocations: 0 / 453.6 MB, free: 1.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003397/0.1561, allocations: 39.84 kB / 453.7 MB, free: 1.371 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (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.0005925/0.1567, allocations: 0.9247 MB / 454.6 MB, free: 420 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.1571, allocations: 289.3 kB / 454.9 MB, free: 104 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1572, allocations: 3.938 kB / 454.9 MB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2084/0.3656, allocations: 251.6 kB / 455.1 MB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.3661, allocations: 23.48 kB / 455.1 MB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3678, allocations: 2.362 MB / 457.5 MB, free: 43.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.368, allocations: 0.7179 MB / 458.2 MB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.236e-05/0.368, allocations: 8.969 kB / 458.2 MB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.3681, allocations: 31.09 kB / 458.3 MB, free: 43.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3681, allocations: 2.297 kB / 458.3 MB, free: 43.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.3831, allocations: 2.63 MB / 460.9 MB, free: 42.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.3834, allocations: 202.1 kB / 461.1 MB, free: 42.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.136, allocations: 0 / 461.1 MB, free: 42.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat