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.001101/0.001101, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 76.44 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003171/0.1168, allocations: 1.669 MB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003592/0.1172, allocations: 103.6 kB / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.1173, allocations: 8 kB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.432e-05/0.1174, allocations: 11.86 kB / 481.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.1176, allocations: 35.64 kB / 481.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1177, allocations: 35.95 kB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1179, allocations: 123.4 kB / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1181, allocations: 37.05 kB / 482.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1182, allocations: 47.86 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.1183, allocations: 51.77 kB / 482.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.1183, allocations: 8 kB / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.1184, allocations: 11.94 kB / 482.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.1184, allocations: 19.94 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.1185, allocations: 55.73 kB / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1187, allocations: 127.8 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1187, allocations: 0 / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1187, allocations: 4 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1187, allocations: 0 / 482.5 MB, free: 2.824 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.0005528/0.1192, allocations: 407.3 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1193, allocations: 12.03 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.1194, allocations: 38.73 kB / 482.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.1194, allocations: 16.75 kB / 482.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1196, allocations: 192.2 kB / 483.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1196, allocations: 12.61 kB / 483.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.1197, allocations: 16.28 kB / 483.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.1199, allocations: 129.6 kB / 483.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1199, allocations: 7.922 kB / 483.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1199, allocations: 4 kB / 483.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.12, allocations: 4 kB / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1201, allocations: 63.89 kB / 483.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.1208, allocations: 0.5372 MB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1209, allocations: 85.17 kB / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.121, allocations: 37.66 kB / 484 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.121, allocations: 4.078 kB / 484 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.121, allocations: 30.56 kB / 484 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1211, allocations: 4 kB / 484 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006101/0.1217, allocations: 305.3 kB / 484.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1217, allocations: 77.11 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1219, allocations: 129.7 kB / 484.5 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1219, allocations: 25.7 kB / 484.6 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.122, allocations: 119.6 kB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.122, allocations: 35.55 kB / 484.7 MB, free: 280 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.1221, allocations: 25.72 kB / 484.7 MB, free: 248 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1222, allocations: 322.8 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.1223, allocations: 31.98 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.1224, allocations: 76.58 kB / 485.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1226, allocations: 124.4 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1226, allocations: 4 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000291/0.1229, allocations: 163.1 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1229, allocations: 10.34 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1229, allocations: 11.88 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.1231, allocations: 38.17 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.1232, allocations: 32.17 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.1253, allocations: 2.735 MB / 488.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.1254, allocations: 11.84 kB / 488.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1254, allocations: 8 kB / 488.3 MB, free: 12.33 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 (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.0001161/0.1256, allocations: 129.2 kB / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.1256, allocations: 15.94 kB / 488.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.1256, allocations: 7.906 kB / 488.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1257, allocations: 4 kB / 488.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1257, allocations: 0 / 488.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1257, allocations: 3.984 kB / 488.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1259, allocations: 201.6 kB / 488.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.126, allocations: 0 / 488.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.1261, allocations: 15.98 kB / 488.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.1262, allocations: 37.64 kB / 488.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1262, allocations: 8 kB / 488.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.1281, allocations: 2.734 MB / 491.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1281, allocations: 0 / 491.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1284, allocations: 308.4 kB / 491.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.1284, allocations: 85 kB / 491.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1285, allocations: 7.984 kB / 491.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.1285, allocations: 4 kB / 491.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.1286, allocations: 4 kB / 491.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1286, allocations: 3.984 kB / 491.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.715e-05/0.1287, allocations: 91.28 kB / 491.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.1287, allocations: 0 / 491.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.129, allocations: 39.88 kB / 492 MB, free: 8.258 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 (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.0006194/0.1296, allocations: 0.8382 MB / 492.8 MB, free: 7.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.1301, allocations: 305.5 kB / 493.1 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1302, allocations: 0 / 493.1 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.1304, allocations: 253.6 kB / 493.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.1309, allocations: 36.38 kB / 493.4 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.133, allocations: 1.985 MB / 495.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1333, allocations: 0.7084 MB / 496.1 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.1334, allocations: 4.891 kB / 496.1 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.1334, allocations: 32.52 kB / 496.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1334, allocations: 0 / 496.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.1602, allocations: 2.939 MB / 499.1 MB, free: 1.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.442/9.602, allocations: 6.438 kB / 499.1 MB, free: 1.02 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches