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.001521/0.001521, allocations: 103 kB / 16.27 MB, free: 5.93 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.00156/0.00156, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.67/1.67, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 43.53 MB / 314 MB, free: 0.5195 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.001462/0.001462, allocations: 71.08 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1155, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002321/0.1179, allocations: 1.637 MB / 442.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.1181, allocations: 119.6 kB / 442.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.1182, allocations: 4 kB / 442.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.1183, allocations: 11.86 kB / 442.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.1184, allocations: 31.7 kB / 442.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.1185, allocations: 27.91 kB / 442.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.1186, allocations: 131.5 kB / 442.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1187, allocations: 33.33 kB / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.1188, allocations: 51.73 kB / 442.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.636e-05/0.1189, allocations: 51.77 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1189, allocations: 16 kB / 442.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.139e-05/0.1189, allocations: 8 kB / 442.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.119, allocations: 23.92 kB / 442.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.119, allocations: 55.73 kB / 442.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1191, allocations: 119.5 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1192, allocations: 4 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1192, allocations: 0 / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1192, allocations: 0 / 442.9 MB, free: 4.488 MB / 318.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.0003946/0.1196, allocations: 415.3 kB / 443.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1196, allocations: 15.89 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.1196, allocations: 38.75 kB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.1197, allocations: 12.84 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.1198, allocations: 196.2 kB / 443.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1198, allocations: 12.61 kB / 443.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1199, allocations: 16.31 kB / 443.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1201, allocations: 131 kB / 443.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1201, allocations: 11.84 kB / 443.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1201, allocations: 7.938 kB / 443.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1201, allocations: 8 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.1202, allocations: 51.97 kB / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.1207, allocations: 0.5411 MB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.1208, allocations: 85.17 kB / 444.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.1209, allocations: 37.73 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.1209, allocations: 0 / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.1209, allocations: 34.56 kB / 444.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.1209, allocations: 0 / 444.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004652/0.1214, allocations: 297.8 kB / 444.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1214, allocations: 89.03 kB / 444.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.1215, allocations: 121.8 kB / 445 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.1215, allocations: 25.7 kB / 445 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.1215, allocations: 115.7 kB / 445.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.1216, allocations: 35.55 kB / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.1216, allocations: 33.7 kB / 445.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.1216, allocations: 318.8 kB / 445.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.1217, allocations: 23.98 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/0.1217, allocations: 84.58 kB / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.1218, allocations: 124.4 kB / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1219, allocations: 0 / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002133/0.1221, allocations: 171.2 kB / 445.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1221, allocations: 11.92 kB / 445.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1221, allocations: 7.938 kB / 446 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.1223, allocations: 37.64 kB / 446 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.1224, allocations: 20 kB / 446 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.1241, allocations: 2.741 MB / 448.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.1242, allocations: 12.09 kB / 448.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1242, allocations: 16 kB / 448.8 MB, free: 13.98 MB / 334.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 9.146e-05/0.1243, allocations: 125.7 kB / 448.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.1244, allocations: 15.84 kB / 448.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.1244, allocations: 15.89 kB / 448.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1244, allocations: 0 / 448.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.1244, allocations: 7.938 kB / 448.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1244, allocations: 0 / 448.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.1247, allocations: 197.6 kB / 449.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.062e-05/0.1248, allocations: 4 kB / 449.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.1248, allocations: 11.98 kB / 449.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-05/0.1249, allocations: 41.64 kB / 449.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.125, allocations: 0 / 449.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.1268, allocations: 2.722 MB / 451.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1268, allocations: 8.188 kB / 451.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.1271, allocations: 304.3 kB / 452.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.1272, allocations: 88.95 kB / 452.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1272, allocations: 0 / 452.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.1273, allocations: 8 kB / 452.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.1273, allocations: 11.98 kB / 452.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1273, allocations: 4 kB / 452.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.1274, allocations: 91.27 kB / 452.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1274, allocations: 0 / 452.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.1277, allocations: 39.91 kB / 452.5 MB, free: 9.906 MB / 334.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.0006019/0.1283, allocations: 0.8382 MB / 453.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.1288, allocations: 297.5 kB / 453.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1288, allocations: 0.5 kB / 453.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.1291, allocations: 269.2 kB / 453.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.1295, allocations: 27.86 kB / 453.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1314, allocations: 1.961 MB / 455.8 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1317, allocations: 0.7123 MB / 456.5 MB, free: 5.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.694e-05/0.1317, allocations: 8.875 kB / 456.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.1318, allocations: 31.42 kB / 456.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1318, allocations: 0 / 456.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.1579, allocations: 2.93 MB / 459.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.344/9.502, allocations: 19.55 kB / 459.5 MB, free: 2.582 MB / 334.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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches