Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_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.0009698/0.00097, allocations: 95.27 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 186.3 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2147/0.2147, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003365, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1103, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001566/0.1119, allocations: 1.285 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002823/0.1122, allocations: 115.7 kB / 472.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.1123, allocations: 4 kB / 472.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.1123, allocations: 7.922 kB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.44e-05/0.1124, allocations: 43.89 kB / 473 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.6e-05/0.1125, allocations: 12 kB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.1126, allocations: 91.8 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1128, allocations: 32.97 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.1128, allocations: 39.86 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.1129, allocations: 51.7 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1129, allocations: 4 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.097e-05/0.113, allocations: 8 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.113, allocations: 15.94 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.113, allocations: 49.64 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.365e-05/0.1131, allocations: 92.02 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1131, allocations: 0 / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1131, allocations: 0 / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1131, allocations: 0 / 473.4 MB, free: 11.81 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.0004256/0.1136, allocations: 383.3 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1136, allocations: 12.03 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.1137, allocations: 42.55 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.1137, allocations: 11.91 kB / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1139, allocations: 194.8 kB / 474 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1139, allocations: 12.23 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.1139, allocations: 15.95 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.1142, allocations: 132.9 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1142, allocations: 0 / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1142, allocations: 7.984 kB / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1142, allocations: 4 kB / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1143, allocations: 55.97 kB / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.115, allocations: 0.5371 MB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1152, allocations: 89.22 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1152, allocations: 7.891 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1152, allocations: 38.56 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1152, allocations: 0 / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005495/0.1158, allocations: 297.5 kB / 475.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1159, allocations: 85.03 kB / 475.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.116, allocations: 117.8 kB / 475.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.116, allocations: 25.7 kB / 475.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.1161, allocations: 119.7 kB / 475.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1161, allocations: 39.44 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.1161, allocations: 4 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1163, allocations: 330.7 kB / 475.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.1163, allocations: 19.98 kB / 475.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1165, allocations: 84.52 kB / 476 MB, free: 8.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.018e-05/0.1166, allocations: 36.38 kB / 476 MB, free: 8.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1166, allocations: 0 / 476 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002554/0.1168, allocations: 171.2 kB / 476.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1169, allocations: 12 kB / 476.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1169, allocations: 4 kB / 476.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.117, allocations: 37.64 kB / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.1171, allocations: 20 kB / 476.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.1189, allocations: 2.553 MB / 478.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.119, allocations: 7.969 kB / 478.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.119, allocations: 8 kB / 478.8 MB, free: 5.734 MB / 350.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 8.948e-05/0.1191, allocations: 125.8 kB / 479 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.1191, allocations: 12.09 kB / 479 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.1191, allocations: 15.91 kB / 479 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1192, allocations: 3.953 kB / 479 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1192, allocations: 7.984 kB / 479 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1192, allocations: 4.078 kB / 479 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.1194, allocations: 193.6 kB / 479.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1194, allocations: 0 / 479.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-05/0.1195, allocations: 15.98 kB / 479.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.523e-05/0.1196, allocations: 33.7 kB / 479.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1196, allocations: 8 kB / 479.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.1213, allocations: 2.544 MB / 481.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1213, allocations: 0 / 481.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1216, allocations: 322.3 kB / 482.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.1216, allocations: 77.11 kB / 482.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1217, allocations: 4 kB / 482.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.1217, allocations: 4 kB / 482.2 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.1218, allocations: 8.031 kB / 482.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1218, allocations: 4 kB / 482.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.38e-05/0.1218, allocations: 99.2 kB / 482.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1219, allocations: 0 / 482.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003496/0.1222, allocations: 39.84 kB / 482.3 MB, free: 1.852 MB / 350.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.0006535/0.1229, allocations: 0.9283 MB / 483.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.1233, allocations: 289.2 kB / 483.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1233, allocations: 0.5 kB / 483.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.1235, allocations: 261.6 kB / 483.8 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1239, allocations: 23.94 kB / 483.8 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1258, allocations: 2.363 MB / 486.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1261, allocations: 0.7122 MB / 486.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.841e-05/0.1262, allocations: 12.86 kB / 486.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.1262, allocations: 31.42 kB / 487 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1262, allocations: 4 kB / 487 MB, free: 13.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.1389, allocations: 2.628 MB / 489.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.1391, allocations: 209.9 kB / 489.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.86, allocations: 0 / 489.8 MB, free: 10.31 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat