Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",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.001612/0.001611, allocations: 102.9 kB / 16.4 MB, free: 6.508 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.002849/0.00285, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2165/0.2165, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001456/0.001456, allocations: 65.94 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.105, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005/0.11, allocations: 4.106 MB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1122, allocations: 1.111 MB / 0.4925 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005923/0.1129, allocations: 15.94 kB / 0.4925 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.1133, allocations: 98.95 kB / 0.4926 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006599/0.114, allocations: 202.2 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.1147, allocations: 199.6 kB / 0.493 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008486/0.1155, allocations: 0.7823 MB / 0.4937 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004017/0.1159, allocations: 239.5 kB / 0.494 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.1163, allocations: 307 kB / 0.4943 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.1167, allocations: 338.5 kB / 0.4946 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/0.1168, allocations: 60 kB / 0.4946 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.117, allocations: 84 kB / 0.4947 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1171, allocations: 151.4 kB / 0.4949 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.1174, allocations: 350.2 kB / 0.4952 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007606/0.1182, allocations: 0.774 MB / 0.4959 GB, free: 3.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1182, allocations: 0 / 0.4959 GB, free: 3.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1182, allocations: 0 / 0.4959 GB, free: 3.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1182, allocations: 0 / 0.4959 GB, free: 3.473 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001769/0.12, allocations: 1.012 MB / 0.4969 GB, free: 2.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1201, allocations: 15.88 kB / 0.497 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.1202, allocations: 98.7 kB / 0.497 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.1203, allocations: 80.47 kB / 0.4971 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.1208, allocations: 406.1 kB / 0.4975 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.1209, allocations: 41.69 kB / 0.4975 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.121, allocations: 68.33 kB / 0.4976 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.1221, allocations: 0.6266 MB / 0.4982 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.1221, allocations: 11.94 kB / 0.4982 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.1222, allocations: 28 kB / 0.4983 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.1222, allocations: 12 kB / 0.4983 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.1233, allocations: 0.5332 MB / 0.4988 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.1263, allocations: 2.158 MB / 0.5009 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.1275, allocations: 0.6951 MB / 0.5016 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/0.1282, allocations: 355.1 kB / 0.5019 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.1283, allocations: 93.84 kB / 0.502 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.1284, allocations: 46.94 kB / 0.5021 GB, free: 12.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.1284, allocations: 4 kB / 0.5021 GB, free: 12.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008706/0.1371, allocations: 4.532 MB / 0.5065 GB, free: 7.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.1373, allocations: 222.2 kB / 0.5067 GB, free: 7.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.1377, allocations: 366 kB / 0.507 GB, free: 7.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.1377, allocations: 45.7 kB / 0.5071 GB, free: 7.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1379, allocations: 277.4 kB / 0.5074 GB, free: 7.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.1383, allocations: 428.2 kB / 0.5078 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.1385, allocations: 175 kB / 0.5079 GB, free: 6.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1387, allocations: 382.8 kB / 0.5083 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/0.1393, allocations: 322.4 kB / 0.5086 GB, free: 5.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.1401, allocations: 0.5004 MB / 0.5091 GB, free: 5.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.1416, allocations: 0.8663 MB / 0.5099 GB, free: 4.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1416, allocations: 4 kB / 0.5099 GB, free: 4.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001757/0.1434, allocations: 1.012 MB / 0.5109 GB, free: 3.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1434, allocations: 10.66 kB / 0.5109 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1434, allocations: 7.984 kB / 0.5109 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.1434, allocations: 12 kB / 0.511 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.1445, allocations: 288 kB / 0.5112 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.1445, allocations: 12.22 kB / 0.5112 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.1449, allocations: 51.97 kB / 0.5113 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.145, allocations: 39.98 kB / 0.5113 GB, free: 2.785 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003039/0.1453, allocations: 237.4 kB / 0.5116 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.1455, allocations: 79.52 kB / 0.5116 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.146, allocations: 218.8 kB / 0.5118 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.146, allocations: 15.98 kB / 0.5119 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.146, allocations: 4 kB / 0.5119 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.146, allocations: 3.984 kB / 0.5119 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.1494, allocations: 2.336 MB / 0.5141 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1494, allocations: 4 kB / 0.5141 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.1505, allocations: 251.9 kB / 0.5144 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.1505, allocations: 11.94 kB / 0.5144 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.1506, allocations: 27.98 kB / 0.5144 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.597e-06/0.1506, allocations: 8 kB / 0.5144 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1506, allocations: 4 kB / 0.5144 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.153, allocations: 1.906 MB / 0.5163 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.1533, allocations: 204.6 kB / 0.5165 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.1534, allocations: 23.94 kB / 0.5165 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.154, allocations: 47.95 kB / 0.5166 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.1542, allocations: 96.31 kB / 0.5167 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.1542, allocations: 32 kB / 0.5167 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.1545, allocations: 255.1 kB / 0.5169 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1545, allocations: 192 / 0.5169 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007912/0.1553, allocations: 192 kB / 0.5171 GB, free: 12.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002684/0.1579, allocations: 2.473 MB / 0.5195 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.1595, allocations: 0.8502 MB / 0.5204 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1595, allocations: 0 / 0.5204 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007921/0.1603, allocations: 0.4883 MB / 0.5208 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.1615, allocations: 141.2 kB / 0.521 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/0.1711, allocations: 7.238 MB / 0.528 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.1717, allocations: 0.9439 MB / 0.529 GB, free: 172 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004114/0.1721, allocations: 101.7 kB / 0.5291 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.222/0.3941, allocations: 263.5 kB / 0.5293 GB, free: 39.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3941, allocations: 0 / 0.5293 GB, free: 39.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03839/0.4325, allocations: 13.84 MB / 0.5428 GB, free: 36.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.819, allocations: 9.812 kB / 0.5428 GB, free: 36.67 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches