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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009252, allocations: 99.14 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 185.7 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1998/0.1998, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002844/0.1339, allocations: 2.396 MB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1349, allocations: 0.6858 MB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.135, allocations: 4 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.1352, allocations: 47.58 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1354, allocations: 107.1 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1356, allocations: 67.92 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.1361, allocations: 414.4 kB / 475.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.1363, allocations: 137.4 kB / 475.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1365, allocations: 135.5 kB / 475.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1367, allocations: 163.2 kB / 475.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.1368, allocations: 27.94 kB / 475.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.174e-05/0.1368, allocations: 16 kB / 475.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.1369, allocations: 59.77 kB / 475.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.137, allocations: 93.52 kB / 476 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.1373, allocations: 327.3 kB / 476.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1373, allocations: 0 / 476.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1373, allocations: 7.938 kB / 476.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.1373, allocations: 0 / 476.3 MB, free: 8.949 MB / 350.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.000889/0.1382, allocations: 0.6043 MB / 476.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1383, allocations: 12.03 kB / 476.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.196e-05/0.1384, allocations: 74.53 kB / 477 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.1384, allocations: 39.53 kB / 477 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.1387, allocations: 287.3 kB / 477.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.1388, allocations: 25 kB / 477.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/0.1389, allocations: 47.95 kB / 477.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.1396, allocations: 381 kB / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1396, allocations: 11.89 kB / 477.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.1397, allocations: 16 kB / 477.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1397, allocations: 8 kB / 477.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.1402, allocations: 256.3 kB / 478 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1419, allocations: 1.124 MB / 479.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.1424, allocations: 355.9 kB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.1428, allocations: 182.8 kB / 479.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1428, allocations: 4 kB / 479.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.1428, allocations: 42.5 kB / 479.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/0.1428, allocations: 4 kB / 479.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003926/0.1468, allocations: 2.467 MB / 482.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.1469, allocations: 114.8 kB / 482.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1471, allocations: 230.6 kB / 482.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.1472, allocations: 33.7 kB / 482.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1473, allocations: 184.6 kB / 482.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.1475, allocations: 213 kB / 483 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.1475, allocations: 12 kB / 483 MB, free: 1.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1477, allocations: 346.8 kB / 483.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.1479, allocations: 133 kB / 483.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.1482, allocations: 235.8 kB / 483.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.1486, allocations: 171.9 kB / 483.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1486, allocations: 4 kB / 483.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009628/0.1495, allocations: 0.5577 MB / 484.4 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1496, allocations: 4 kB / 484.4 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1496, allocations: 4 kB / 484.4 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.1499, allocations: 134.5 kB / 484.5 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.1503, allocations: 91.89 kB / 484.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.1543, allocations: 4.672 MB / 489.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.1545, allocations: 27.86 kB / 489.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.1546, allocations: 20 kB / 489.3 MB, free: 10.89 MB / 366.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.0002333/0.1548, allocations: 169.8 kB / 489.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.1549, allocations: 39.53 kB / 489.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.114e-05/0.155, allocations: 46.17 kB / 489.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.155, allocations: 8 kB / 489.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.155, allocations: 4 kB / 489.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1551, allocations: 3.984 kB / 489.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.1569, allocations: 1.343 MB / 490.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.157, allocations: 3.984 kB / 491 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.1573, allocations: 95.89 kB / 491 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.1576, allocations: 90.45 kB / 491.1 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.1577, allocations: 16.09 kB / 491.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/0.1607, allocations: 4.108 MB / 495.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1607, allocations: 0 / 495.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.162, allocations: 0.9525 MB / 496.2 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/0.1621, allocations: 100.7 kB / 496.3 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.1622, allocations: 16 kB / 496.3 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.1624, allocations: 23.98 kB / 496.3 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.942e-05/0.1626, allocations: 51.83 kB / 496.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.1626, allocations: 12 kB / 496.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.1628, allocations: 174 kB / 496.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1628, allocations: 0 / 496.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007196/0.1635, allocations: 124 kB / 496.7 MB, free: 2.977 MB / 366.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.001557/0.165, allocations: 1.484 MB / 498.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.1663, allocations: 0.7659 MB / 499 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1664, allocations: 0 / 499 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007319/0.1671, allocations: 0.5878 MB / 499.5 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.1677, allocations: 62.09 kB / 499.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.1714, allocations: 2.689 MB / 0.4905 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1718, allocations: 0.8287 MB / 0.4913 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.1719, allocations: 27.28 kB / 0.4914 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.1721, allocations: 131.4 kB / 0.4915 GB, free: 12.16 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1721, allocations: 0 / 0.4915 GB, free: 12.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.1923, allocations: 7.467 MB / 0.4988 GB, free: 4.859 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.1925, allocations: 209.4 kB / 0.499 GB, free: 4.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.236, allocations: 0 / 0.499 GB, free: 4.621 MB / 382.1 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