Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.00168, allocations: 186.3 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 94.83 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2911/0.2911, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004748, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1275, allocations: 58.87 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004032/0.1315, allocations: 2.253 MB / 492.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1334, allocations: 0.7415 MB / 493.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.1337, allocations: 11.94 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.1338, allocations: 43.69 kB / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.1342, allocations: 127.6 kB / 493.5 MB, free: 6.035 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.1345, allocations: 71.92 kB / 493.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006205/0.1352, allocations: 307.7 kB / 493.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.1355, allocations: 133.4 kB / 494 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.1358, allocations: 139.4 kB / 494.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.1361, allocations: 159.3 kB / 494.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.1362, allocations: 23.94 kB / 494.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.1363, allocations: 20 kB / 494.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.1364, allocations: 67.67 kB / 494.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1365, allocations: 97.52 kB / 494.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.137, allocations: 315.3 kB / 494.8 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.137, allocations: 0 / 494.8 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.137, allocations: 0 / 494.8 MB, free: 4.723 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1371, allocations: 4 kB / 494.8 MB, free: 4.719 MB / 330.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.001353/0.1384, allocations: 0.6082 MB / 495.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1385, allocations: 8.031 kB / 495.4 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.1386, allocations: 78.53 kB / 495.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.1388, allocations: 47.39 kB / 495.5 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.1393, allocations: 279.4 kB / 495.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.1393, allocations: 29 kB / 495.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1394, allocations: 43.91 kB / 495.9 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.1405, allocations: 388.9 kB / 496.3 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.1406, allocations: 4 kB / 496.3 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.1406, allocations: 16 kB / 496.3 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.1406, allocations: 11.95 kB / 496.3 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.1415, allocations: 263.8 kB / 496.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.1443, allocations: 1.116 MB / 497.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009216/0.1453, allocations: 347.6 kB / 498 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.1453, allocations: 11.92 kB / 498 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.1454, allocations: 42.56 kB / 498.1 MB, free: 1.238 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 3.998e-06/0.1454, allocations: 3.938 kB / 498.1 MB, free: 1.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.006366/0.1518, allocations: 2.463 MB / 0.4888 GB, free: 14.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.1519, allocations: 122.7 kB / 0.4889 GB, free: 14.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.1523, allocations: 242.5 kB / 0.4892 GB, free: 14.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.1523, allocations: 37.7 kB / 0.4892 GB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1525, allocations: 231.1 kB / 0.4894 GB, free: 13.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.1527, allocations: 201 kB / 0.4896 GB, free: 13.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.1528, allocations: 12 kB / 0.4896 GB, free: 13.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1529, allocations: 334.8 kB / 0.4899 GB, free: 13.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.1534, allocations: 133.1 kB / 0.4901 GB, free: 13.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.154, allocations: 227.8 kB / 0.4903 GB, free: 12.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.1545, allocations: 171.8 kB / 0.4904 GB, free: 12.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1546, allocations: 0 / 0.4904 GB, free: 12.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00181/0.1564, allocations: 0.5581 MB / 0.491 GB, free: 12.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.1565, allocations: 7.438 kB / 0.491 GB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1565, allocations: 4 kB / 0.491 GB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/0.1571, allocations: 122.5 kB / 0.4911 GB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.1578, allocations: 103.8 kB / 0.4912 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005955/0.1638, allocations: 4.704 MB / 0.4958 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.1643, allocations: 23.98 kB / 0.4958 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.1644, allocations: 28.06 kB / 0.4959 GB, free: 6.773 MB / 346.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 () * 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.000297/0.1647, allocations: 165.7 kB / 0.496 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.1648, allocations: 35.58 kB / 0.496 GB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.1649, allocations: 50.17 kB / 0.4961 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.165, allocations: 4 kB / 0.4961 GB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.165, allocations: 4 kB / 0.4961 GB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.165, allocations: 3.984 kB / 0.4961 GB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.1684, allocations: 1.337 MB / 0.4974 GB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.1684, allocations: 11.94 kB / 0.4974 GB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/0.1693, allocations: 95.89 kB / 0.4975 GB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/0.1698, allocations: 94.61 kB / 0.4976 GB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.1698, allocations: 8 kB / 0.4976 GB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00473/0.1746, allocations: 4.151 MB / 0.5017 GB, free: 332 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1747, allocations: 0 / 0.5017 GB, free: 332 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.1771, allocations: 0.9926 MB / 0.5026 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.1773, allocations: 112.6 kB / 0.5027 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/0.1774, allocations: 12.06 kB / 0.5028 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.1778, allocations: 16 kB / 0.5028 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.178, allocations: 51.88 kB / 0.5028 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.1781, allocations: 19.98 kB / 0.5028 GB, free: 15.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002379/0.1783, allocations: 170 kB / 0.503 GB, free: 14.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1783, allocations: 0 / 0.503 GB, free: 14.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001059/0.1794, allocations: 123.9 kB / 0.5031 GB, free: 14.75 MB / 362.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 () * 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.002834/0.1822, allocations: 1.883 MB / 0.505 GB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.1843, allocations: 0.7615 MB / 0.5057 GB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.1844, allocations: 0 / 0.5057 GB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.1857, allocations: 0.5957 MB / 0.5063 GB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.1864, allocations: 40.53 kB / 0.5063 GB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/0.1939, allocations: 4.36 MB / 0.5106 GB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.1945, allocations: 0.8288 MB / 0.5114 GB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.1949, allocations: 135.3 kB / 0.5115 GB, free: 5.863 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.1949, allocations: 0 / 0.5115 GB, free: 5.863 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.209/3.404, allocations: 10.46 MB / 0.5217 GB, free: 43.02 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat