Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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 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 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 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.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.0007435/0.0007435, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 173.7 kB / 16.58 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3891/0.3891, allocations: 43.54 MB / 314.6 MB, free: 9 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005318, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1209, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001737/0.1227, allocations: 1.338 MB / 444.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.123, allocations: 99.62 kB / 444.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.1231, allocations: 8 kB / 444.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.1231, allocations: 7.922 kB / 444.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1233, allocations: 39.64 kB / 444.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.1234, allocations: 15.98 kB / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1236, allocations: 119.5 kB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1238, allocations: 29.09 kB / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.1239, allocations: 43.8 kB / 444.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.124, allocations: 43.83 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.124, allocations: 8 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.124, allocations: 4 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.124, allocations: 19.92 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.1241, allocations: 53.58 kB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.1243, allocations: 88.03 kB / 444.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1243, allocations: 0 / 444.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1243, allocations: 0 / 444.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1243, allocations: 4 kB / 444.8 MB, free: 11.28 MB / 382.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.0005922/0.1249, allocations: 387.2 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.125, allocations: 12.03 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.125, allocations: 46.55 kB / 445.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.1251, allocations: 15.77 kB / 445.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1253, allocations: 182.9 kB / 445.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1253, allocations: 12.23 kB / 445.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.1253, allocations: 19.89 kB / 445.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1256, allocations: 129 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1256, allocations: 0 / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1256, allocations: 4 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1256, allocations: 7.984 kB / 445.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1257, allocations: 67.86 kB / 445.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.1264, allocations: 0.5333 MB / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1266, allocations: 89.08 kB / 446.3 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.1266, allocations: 33.89 kB / 446.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1267, allocations: 4 kB / 446.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1267, allocations: 30.56 kB / 446.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.1267, allocations: 0 / 446.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005467/0.1272, allocations: 313.3 kB / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1273, allocations: 81.11 kB / 446.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.1274, allocations: 118.2 kB / 446.8 MB, free: 8.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1274, allocations: 25.7 kB / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.1275, allocations: 127.5 kB / 447 MB, free: 8.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.1275, allocations: 35.53 kB / 447 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.1276, allocations: 0 / 447 MB, free: 8.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1277, allocations: 322.8 kB / 447.3 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.1277, allocations: 23.98 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.1278, allocations: 88.52 kB / 447.4 MB, free: 8.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.168e-05/0.1279, allocations: 43.88 kB / 447.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1279, allocations: 0 / 447.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002643/0.1282, allocations: 171 kB / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1282, allocations: 8.25 kB / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1282, allocations: 4 kB / 447.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.1284, allocations: 37.7 kB / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.1285, allocations: 19.94 kB / 447.7 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.1308, allocations: 2.545 MB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.1309, allocations: 15.84 kB / 450.3 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1309, allocations: 4 kB / 450.3 MB, free: 5.152 MB / 382.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.0001329/0.1311, allocations: 130.8 kB / 450.4 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.1311, allocations: 7.906 kB / 450.4 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.1312, allocations: 8 kB / 450.4 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1312, allocations: 8 kB / 450.4 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1312, allocations: 0 / 450.4 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1312, allocations: 3.984 kB / 450.4 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.1315, allocations: 205.5 kB / 450.6 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1315, allocations: 0 / 450.6 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.1316, allocations: 15.98 kB / 450.7 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.594e-05/0.1317, allocations: 33.64 kB / 450.7 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1317, allocations: 4 kB / 450.7 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.1334, allocations: 2.533 MB / 453.2 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1334, allocations: 0 / 453.2 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.1337, allocations: 308.5 kB / 453.5 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.1337, allocations: 85.02 kB / 453.6 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1337, allocations: 0 / 453.6 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.1338, allocations: 7.953 kB / 453.6 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.1338, allocations: 12.03 kB / 453.6 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1339, allocations: 3.938 kB / 453.6 MB, free: 1.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.502e-05/0.1339, allocations: 99.31 kB / 453.7 MB, free: 1.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.1339, allocations: 4 kB / 453.7 MB, free: 1.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.1343, allocations: 43.78 kB / 453.8 MB, free: 1.289 MB / 382.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.0005473/0.1348, allocations: 0.8266 MB / 454.6 MB, free: 440 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003825/0.1352, allocations: 297.3 kB / 454.9 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1352, allocations: 0 / 454.9 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2043/0.3396, allocations: 248.2 kB / 455.1 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.3402, allocations: 21.69 kB / 455.2 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3416, allocations: 1.018 MB / 456.2 MB, free: 45.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.3418, allocations: 0.7107 MB / 456.9 MB, free: 44.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.908e-05/0.3418, allocations: 9.781 kB / 456.9 MB, free: 44.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.3419, allocations: 30.7 kB / 456.9 MB, free: 44.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3419, allocations: 0 / 456.9 MB, free: 44.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.3551, allocations: 2.64 MB / 459.6 MB, free: 44.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/0.3553, allocations: 212.4 kB / 459.8 MB, free: 43.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.098, allocations: 0 / 459.8 MB, free: 43.94 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat