Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009838/0.0009837, allocations: 95.22 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.001297/0.001297, allocations: 191.8 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.384/1.384, allocations: 227.4 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1958/0.1958, allocations: 45.92 MB / 344.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002809, allocations: 12 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 63.46 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002035/0.1184, allocations: 1.34 MB / 483 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00027/0.1187, allocations: 119.5 kB / 483.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.1187, allocations: 0 / 483.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.1188, allocations: 11.92 kB / 483.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1189, allocations: 31.7 kB / 483.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.119, allocations: 23.92 kB / 483.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1192, allocations: 111.5 kB / 483.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1193, allocations: 33.09 kB / 483.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.1194, allocations: 43.8 kB / 483.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.1195, allocations: 39.84 kB / 483.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1195, allocations: 4 kB / 483.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.1195, allocations: 8 kB / 483.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.1196, allocations: 23.91 kB / 483.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.1196, allocations: 49.64 kB / 483.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.1197, allocations: 88.05 kB / 483.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1197, allocations: 0 / 483.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1198, allocations: 0 / 483.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1198, allocations: 0 / 483.5 MB, free: 3.348 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004765/0.1202, allocations: 387.2 kB / 483.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1203, allocations: 8.031 kB / 483.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.1203, allocations: 46.55 kB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1204, allocations: 11.91 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1206, allocations: 202.8 kB / 484.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1206, allocations: 8.234 kB / 484.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1206, allocations: 15.98 kB / 484.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1209, allocations: 121 kB / 484.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1209, allocations: 4 kB / 484.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1209, allocations: 4 kB / 484.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1209, allocations: 0 / 484.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.121, allocations: 59.91 kB / 484.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.1218, allocations: 0.5528 MB / 484.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.122, allocations: 85.08 kB / 485 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.122, allocations: 33.89 kB / 485.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.122, allocations: 0 / 485.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1221, allocations: 34.5 kB / 485.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.1221, allocations: 0 / 485.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005751/0.1227, allocations: 313.6 kB / 485.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1227, allocations: 77.11 kB / 485.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.034e-05/0.1228, allocations: 121.8 kB / 485.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1228, allocations: 25.7 kB / 485.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.1229, allocations: 111.7 kB / 485.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.123, allocations: 43.45 kB / 485.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.123, allocations: 4 kB / 485.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1231, allocations: 318.8 kB / 486.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.1231, allocations: 23.98 kB / 486.1 MB, free: 488 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1232, allocations: 91.61 kB / 486.2 MB, free: 368 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.1e-05/0.1233, allocations: 39.97 kB / 486.2 MB, free: 328 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1233, allocations: 0 / 486.2 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000265/0.1236, allocations: 175 kB / 486.4 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1236, allocations: 4 kB / 486.4 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1236, allocations: 4 kB / 486.4 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.1238, allocations: 37.7 kB / 486.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/0.1239, allocations: 23.92 kB / 486.5 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.1257, allocations: 2.533 MB / 489 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.1258, allocations: 11.94 kB / 489 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1258, allocations: 4 kB / 489 MB, free: 13.25 MB / 366.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.0001106/0.1259, allocations: 138 kB / 489.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.126, allocations: 7.906 kB / 489.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.126, allocations: 11.91 kB / 489.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.126, allocations: 0 / 489.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.126, allocations: 0 / 489.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.126, allocations: 3.984 kB / 489.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.1263, allocations: 201.6 kB / 489.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1263, allocations: 3.953 kB / 489.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.1264, allocations: 15.98 kB / 489.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.957e-05/0.1265, allocations: 45.64 kB / 489.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1265, allocations: 0 / 489.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.1283, allocations: 2.536 MB / 492 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1283, allocations: 4.062 kB / 492 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.1286, allocations: 308.4 kB / 492.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.1286, allocations: 77.11 kB / 492.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.1287, allocations: 8 kB / 492.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.1288, allocations: 0 / 492.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.1288, allocations: 15.97 kB / 492.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1288, allocations: 4 kB / 492.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.356e-05/0.1289, allocations: 99.22 kB / 492.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1289, allocations: 0 / 492.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.1292, allocations: 39.84 kB / 492.5 MB, free: 9.375 MB / 366.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.0006315/0.1299, allocations: 0.8305 MB / 493.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.1303, allocations: 297.2 kB / 493.6 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1303, allocations: 0.5 kB / 493.6 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.1305, allocations: 253.4 kB / 493.9 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.131, allocations: 30.69 kB / 493.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.1324, allocations: 1.015 MB / 494.9 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1328, allocations: 0.7044 MB / 495.6 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.1328, allocations: 20.8 kB / 495.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.1329, allocations: 27.44 kB / 495.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1329, allocations: 0 / 495.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.1534, allocations: 2.64 MB / 498.3 MB, free: 3.539 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000309/0.1538, allocations: 222.3 kB / 498.5 MB, free: 3.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/1.977, allocations: 0 / 498.5 MB, free: 3.285 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat