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.001068/0.001068, allocations: 95.08 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 194.6 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.3 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 45.91 MB / 344.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002997, allocations: 4 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 63.47 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003185/0.1354, allocations: 2.409 MB / 484 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1369, allocations: 0.7286 MB / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.137, allocations: 11.94 kB / 484.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.1372, allocations: 43.62 kB / 484.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1374, allocations: 103.2 kB / 484.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1377, allocations: 71.91 kB / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.1382, allocations: 418.4 kB / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.1384, allocations: 129.4 kB / 485.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.1387, allocations: 151.4 kB / 485.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1389, allocations: 151.3 kB / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.1389, allocations: 20 kB / 485.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.132e-05/0.139, allocations: 27.98 kB / 485.9 MB, free: 1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.1391, allocations: 63.75 kB / 485.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.611e-05/0.1392, allocations: 97.45 kB / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.1396, allocations: 323.3 kB / 486.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1396, allocations: 0 / 486.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1396, allocations: 0 / 486.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1396, allocations: 0 / 486.3 MB, free: 0.5195 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.0009552/0.1406, allocations: 0.616 MB / 487 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.1406, allocations: 8.031 kB / 487 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.685e-05/0.1407, allocations: 74.48 kB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.1411, allocations: 83.48 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.1414, allocations: 283.3 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.1415, allocations: 29 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.1415, allocations: 40 kB / 487.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.1422, allocations: 388.9 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1422, allocations: 7.906 kB / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.1423, allocations: 16 kB / 487.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1423, allocations: 8 kB / 487.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.1428, allocations: 252.4 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.1444, allocations: 1.128 MB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.1449, allocations: 355.5 kB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.1452, allocations: 183.2 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.1453, allocations: 4 kB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.1453, allocations: 42.56 kB / 489.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.483e-06/0.1453, allocations: 0 / 489.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.00363/0.149, allocations: 2.467 MB / 492.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.149, allocations: 118.7 kB / 492.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1493, allocations: 238.6 kB / 492.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1493, allocations: 33.7 kB / 492.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1494, allocations: 180.7 kB / 492.8 MB, free: 9.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.1496, allocations: 205 kB / 493 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.1496, allocations: 8 kB / 493.1 MB, free: 9.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1498, allocations: 346.8 kB / 493.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.15, allocations: 137.1 kB / 493.5 MB, free: 8.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.1503, allocations: 227.8 kB / 493.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.1506, allocations: 179.7 kB / 493.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1506, allocations: 3.984 kB / 493.9 MB, free: 8.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009262/0.1516, allocations: 0.5502 MB / 494.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1516, allocations: 12 kB / 494.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1516, allocations: 4 kB / 494.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/0.152, allocations: 134.4 kB / 494.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.1524, allocations: 95.83 kB / 494.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/0.1561, allocations: 4.672 MB / 499.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.1563, allocations: 24.3 kB / 499.4 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.1564, allocations: 24.06 kB / 499.4 MB, free: 2.418 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.000196/0.1566, allocations: 165.8 kB / 499.6 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1567, allocations: 35.53 kB / 499.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/0.1568, allocations: 58.05 kB / 499.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1568, allocations: 7.953 kB / 499.7 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/0.1568, allocations: 4 kB / 499.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.1568, allocations: 3.984 kB / 499.7 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.1587, allocations: 1.335 MB / 0.4893 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1587, allocations: 0 / 0.4893 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.1591, allocations: 103.8 kB / 0.4894 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/0.1594, allocations: 94.61 kB / 0.4895 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.1594, allocations: 15.94 kB / 0.4895 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003052/0.1625, allocations: 4.112 MB / 0.4935 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1625, allocations: 0 / 0.4935 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.1637, allocations: 0.937 MB / 0.4944 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.1638, allocations: 108.7 kB / 0.4945 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.1638, allocations: 12.06 kB / 0.4945 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.1641, allocations: 23.98 kB / 0.4946 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.1642, allocations: 43.94 kB / 0.4946 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.1642, allocations: 12 kB / 0.4946 GB, free: 10.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1643, allocations: 174 kB / 0.4948 GB, free: 10.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1643, allocations: 0 / 0.4948 GB, free: 10.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000651/0.165, allocations: 120 kB / 0.4949 GB, free: 10.52 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.001514/0.1665, allocations: 1.495 MB / 0.4964 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.1677, allocations: 0.7739 MB / 0.4971 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1677, allocations: 0 / 0.4971 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.1684, allocations: 0.577 MB / 0.4977 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.169, allocations: 59.77 kB / 0.4977 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.173, allocations: 2.691 MB / 0.5004 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.1735, allocations: 0.824 MB / 0.5012 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.1736, allocations: 35.27 kB / 0.5012 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.1738, allocations: 131.4 kB / 0.5013 GB, free: 3.691 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.1738, allocations: 3.938 kB / 0.5013 GB, free: 3.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2333/0.4071, allocations: 7.451 MB / 0.5086 GB, free: 39.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.4074, allocations: 208.1 kB / 0.5088 GB, free: 38.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.411, allocations: 0 / 0.5088 GB, free: 38.79 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