Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 94.55 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 200 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 63.46 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002815/0.1377, allocations: 2.273 MB / 483.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1389, allocations: 0.7484 MB / 484.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1391, allocations: 11.94 kB / 484.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.586e-05/0.1392, allocations: 31.7 kB / 484.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.1394, allocations: 127.6 kB / 484.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1396, allocations: 75.86 kB / 484.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.14, allocations: 303.8 kB / 485.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1402, allocations: 133.4 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.1405, allocations: 151.4 kB / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1407, allocations: 151.3 kB / 485.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.1407, allocations: 20 kB / 485.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.1408, allocations: 20 kB / 485.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.1409, allocations: 71.67 kB / 485.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.1409, allocations: 97.52 kB / 485.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.1412, allocations: 323.3 kB / 486 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.1413, allocations: 0 / 486 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1413, allocations: 4 kB / 486 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1413, allocations: 0 / 486 MB, free: 0.7305 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.0008681/0.1422, allocations: 0.6159 MB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1422, allocations: 12.03 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.1423, allocations: 74.61 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.1426, allocations: 71.5 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.1429, allocations: 287.3 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.143, allocations: 25 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.1431, allocations: 51.98 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.1437, allocations: 381 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.1437, allocations: 11.83 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.1438, allocations: 20 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.1438, allocations: 11.98 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.1443, allocations: 256.3 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.146, allocations: 1.117 MB / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.1466, allocations: 351.6 kB / 489.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1467, allocations: 11.94 kB / 489.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.1467, allocations: 34.55 kB / 489.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.1467, allocations: 0 / 489.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003892/0.1506, allocations: 2.471 MB / 491.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.1507, allocations: 118.7 kB / 491.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1509, allocations: 234.6 kB / 492.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.1509, allocations: 37.7 kB / 492.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1511, allocations: 180.7 kB / 492.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.1512, allocations: 205 kB / 492.5 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.1512, allocations: 8 kB / 492.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1514, allocations: 346.8 kB / 492.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.1516, allocations: 137.1 kB / 493 MB, free: 9.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.1519, allocations: 231.8 kB / 493.3 MB, free: 8.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.1522, allocations: 163.9 kB / 493.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1522, allocations: 3.953 kB / 493.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009117/0.1531, allocations: 0.5618 MB / 494 MB, free: 8.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1532, allocations: 4 kB / 494 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1532, allocations: 4 kB / 494 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.1535, allocations: 134.9 kB / 494.1 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.1539, allocations: 103.8 kB / 494.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.1578, allocations: 4.704 MB / 498.9 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.158, allocations: 24.02 kB / 498.9 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.1581, allocations: 20 kB / 499 MB, free: 2.789 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.0001964/0.1583, allocations: 165.7 kB / 499.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/0.1584, allocations: 39.59 kB / 499.2 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-05/0.1585, allocations: 54.16 kB / 499.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1585, allocations: 4 kB / 499.2 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.1585, allocations: 7.953 kB / 499.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1585, allocations: 8.359 kB / 499.2 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.1604, allocations: 1.331 MB / 0.4888 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.1604, allocations: 8 kB / 0.4888 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/0.1608, allocations: 104 kB / 0.4889 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/0.1611, allocations: 90.52 kB / 0.489 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.1611, allocations: 12 kB / 0.489 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.1641, allocations: 4.151 MB / 0.4931 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1641, allocations: 3.984 kB / 0.4931 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.1655, allocations: 0.9924 MB / 0.4941 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.1656, allocations: 112.8 kB / 0.4942 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.1656, allocations: 11.95 kB / 0.4942 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.1659, allocations: 24 kB / 0.4942 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.166, allocations: 47.88 kB / 0.4943 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.166, allocations: 15.98 kB / 0.4943 GB, free: 11.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1662, allocations: 170 kB / 0.4944 GB, free: 10.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1662, allocations: 0 / 0.4944 GB, free: 10.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007313/0.167, allocations: 124 kB / 0.4946 GB, free: 10.75 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.001683/0.1686, allocations: 1.887 MB / 0.4964 GB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.1698, allocations: 0.7615 MB / 0.4971 GB, free: 8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1699, allocations: 4 kB / 0.4971 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007334/0.1706, allocations: 0.5809 MB / 0.4977 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.1711, allocations: 56.12 kB / 0.4978 GB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.1756, allocations: 4.338 MB / 0.502 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.176, allocations: 0.828 MB / 0.5028 GB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.1762, allocations: 35.22 kB / 0.5028 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.1763, allocations: 127.4 kB / 0.503 GB, free: 1.852 MB / 382.1 MB Notification: Performance of SimCode: time 1.031e-06/0.1764, allocations: 3.938 kB / 0.503 GB, free: 1.848 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2589/0.4353, allocations: 7.439 MB / 0.5102 GB, free: 39.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/0.4356, allocations: 198.5 kB / 0.5104 GB, free: 38.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.368, allocations: 0 / 0.5104 GB, free: 38.98 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat