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.0008503/0.0008503, allocations: 97.28 kB / 17 MB, free: 6.793 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.0009073/0.0009074, allocations: 185.7 kB / 17.89 MB, free: 6.051 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.34/1.34, allocations: 223.3 MB / 241.9 MB, free: 320 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.2195/0.2195, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003004, allocations: 8.969 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001714/0.1206, allocations: 1.331 MB / 473 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002481/0.1209, allocations: 111.6 kB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.121, allocations: 0 / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.121, allocations: 7.922 kB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.1211, allocations: 35.75 kB / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.1212, allocations: 15.98 kB / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1214, allocations: 119.4 kB / 473.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1215, allocations: 36.89 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.1216, allocations: 39.86 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.1217, allocations: 43.8 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1217, allocations: 4 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.1217, allocations: 4 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.1217, allocations: 27.91 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1218, allocations: 45.64 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1219, allocations: 92.03 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1219, allocations: 0 / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1219, allocations: 3.938 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1219, allocations: 0 / 473.5 MB, free: 11.73 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.000441/0.1224, allocations: 383.2 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1224, allocations: 12.03 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.1225, allocations: 46.55 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1225, allocations: 11.91 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1227, allocations: 198.8 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1228, allocations: 4.234 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.1228, allocations: 19.95 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.123, allocations: 128.9 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1231, allocations: 0 / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1231, allocations: 4 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1231, allocations: 4 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.1232, allocations: 63.94 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/0.1239, allocations: 0.545 MB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1241, allocations: 89.22 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.1241, allocations: 29.61 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.1242, allocations: 4 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1242, allocations: 34.56 kB / 475.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1242, allocations: 4 kB / 475.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005667/0.1248, allocations: 301.5 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.1248, allocations: 77.11 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1249, allocations: 125.8 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.125, allocations: 25.7 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.125, allocations: 119.7 kB / 475.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.1251, allocations: 35.45 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.1251, allocations: 7.938 kB / 475.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1252, allocations: 322.8 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.1253, allocations: 19.98 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.1254, allocations: 84.58 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.262e-05/0.1254, allocations: 39.94 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1254, allocations: 0 / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002502/0.1257, allocations: 167.1 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1257, allocations: 8 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1257, allocations: 0 / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.1259, allocations: 41.64 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.126, allocations: 23.98 kB / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.1279, allocations: 2.542 MB / 479 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.128, allocations: 7.938 kB / 479 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.128, allocations: 4 kB / 479 MB, free: 5.629 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 0.0001197/0.1281, allocations: 133.9 kB / 479.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.1282, allocations: 11.84 kB / 479.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.1282, allocations: 15.89 kB / 479.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1282, allocations: 7.953 kB / 479.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1282, allocations: 0 / 479.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1283, allocations: 0 / 479.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.1285, allocations: 205.5 kB / 479.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1285, allocations: 0 / 479.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.1286, allocations: 16 kB / 479.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.059e-05/0.1287, allocations: 29.7 kB / 479.4 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1288, allocations: 8 kB / 479.4 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.1306, allocations: 2.54 MB / 482 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1307, allocations: 0 / 482 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.131, allocations: 304.4 kB / 482.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.131, allocations: 77.11 kB / 482.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1311, allocations: 8.031 kB / 482.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.1312, allocations: 7.938 kB / 482.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.1312, allocations: 8.094 kB / 482.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1312, allocations: 0 / 482.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.269e-05/0.1313, allocations: 95.27 kB / 482.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1313, allocations: 0 / 482.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.1316, allocations: 39.84 kB / 482.5 MB, free: 1.766 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.0006129/0.1323, allocations: 0.8421 MB / 483.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004163/0.1327, allocations: 293.6 kB / 483.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1327, allocations: 4.125 kB / 483.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.1329, allocations: 257.3 kB / 483.9 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1334, allocations: 30.27 kB / 483.9 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1349, allocations: 1.011 MB / 484.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1352, allocations: 0.7083 MB / 485.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.235e-05/0.1353, allocations: 8.891 kB / 485.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.1353, allocations: 31.42 kB / 485.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1353, allocations: 0 / 485.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.1505, allocations: 2.649 MB / 488.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.1508, allocations: 215.5 kB / 488.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.034, allocations: 0 / 488.5 MB, free: 11.66 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