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.001101/0.001101, allocations: 100 kB / 17.63 MB, free: 5.523 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.001166/0.001166, allocations: 192.1 kB / 18.56 MB, free: 4.602 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.323/1.323, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1917/0.1917, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.001411, allocations: 67.86 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1032, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002749/0.106, allocations: 1.633 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002475/0.1063, allocations: 111.6 kB / 471.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.1064, allocations: 4 kB / 471.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.8e-05/0.1064, allocations: 11.86 kB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.1065, allocations: 47.62 kB / 471.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.1067, allocations: 23.98 kB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1068, allocations: 127.4 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1069, allocations: 36.97 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.107, allocations: 39.86 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.1071, allocations: 67.7 kB / 471.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1071, allocations: 8 kB / 471.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.1072, allocations: 8 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.1072, allocations: 19.92 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.1073, allocations: 59.67 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1074, allocations: 119.9 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1074, allocations: 4 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1074, allocations: 0 / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1074, allocations: 0 / 471.7 MB, free: 11.96 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.0004627/0.1079, allocations: 411.3 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.108, allocations: 8.031 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.108, allocations: 42.75 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.1081, allocations: 20.73 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.1082, allocations: 188.2 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1083, allocations: 12.59 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1083, allocations: 20.27 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1085, allocations: 131.4 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1085, allocations: 7.938 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1086, allocations: 4 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1086, allocations: 4 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1087, allocations: 63.91 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.1094, allocations: 0.5333 MB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1095, allocations: 89.08 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.1095, allocations: 33.83 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1096, allocations: 0 / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1096, allocations: 34.56 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/0.1096, allocations: 0 / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005385/0.1101, allocations: 305.3 kB / 473.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1102, allocations: 81.09 kB / 473.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.1103, allocations: 121.8 kB / 473.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1103, allocations: 25.7 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.1104, allocations: 123.6 kB / 473.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1104, allocations: 31.55 kB / 473.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.1105, allocations: 33.64 kB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1106, allocations: 318.8 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.1106, allocations: 27.98 kB / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.1107, allocations: 94.91 kB / 474.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1108, allocations: 120.8 kB / 474.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1109, allocations: 4 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000257/0.1111, allocations: 171.1 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1111, allocations: 8 kB / 474.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1111, allocations: 7.875 kB / 474.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.1113, allocations: 37.7 kB / 474.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.1114, allocations: 20 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.1132, allocations: 2.742 MB / 477.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.1133, allocations: 11.94 kB / 477.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1133, allocations: 4 kB / 477.5 MB, free: 5.461 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.1134, allocations: 125.8 kB / 477.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.1135, allocations: 11.84 kB / 477.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.1135, allocations: 11.89 kB / 477.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1135, allocations: 4 kB / 477.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1135, allocations: 4.156 kB / 477.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1135, allocations: 3.984 kB / 477.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.1138, allocations: 205.6 kB / 477.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1138, allocations: 7.984 kB / 477.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.1139, allocations: 12 kB / 477.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.281e-05/0.114, allocations: 37.58 kB / 477.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.114, allocations: 4 kB / 477.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.1156, allocations: 2.734 MB / 480.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1156, allocations: 0 / 480.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.1159, allocations: 296.3 kB / 480.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.116, allocations: 85.02 kB / 481 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.116, allocations: 4 kB / 481 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.75e-05/0.1161, allocations: 8.062 kB / 481 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.1161, allocations: 12.06 kB / 481 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1161, allocations: 4 kB / 481.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.112e-05/0.1162, allocations: 99.2 kB / 481.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1162, allocations: 0 / 481.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003324/0.1165, allocations: 35.94 kB / 481.2 MB, free: 1.387 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005412/0.1171, allocations: 0.8304 MB / 482 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000446/0.1175, allocations: 313.6 kB / 482.3 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1175, allocations: 0 / 482.3 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.1178, allocations: 257.4 kB / 482.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.1183, allocations: 31.86 kB / 482.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1202, allocations: 1.97 MB / 484.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1204, allocations: 0.7123 MB / 485.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.409e-05/0.1205, allocations: 4.891 kB / 485.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.1205, allocations: 31.53 kB / 485.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1205, allocations: 0 / 485.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2882/0.4087, allocations: 2.934 MB / 488.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.58, allocations: 15.19 kB / 488.3 MB, free: 10.16 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/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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches