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.00124/0.00124, allocations: 103.1 kB / 16.4 MB, free: 6.449 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.001438/0.001438, allocations: 194.2 kB / 17.34 MB, free: 5.719 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.482/1.482, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2602/0.2602, allocations: 43.52 MB / 314.1 MB, free: 440 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.001402/0.001402, allocations: 69.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006021/0.1287, allocations: 4.102 MB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.1313, allocations: 1.114 MB / 0.4925 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.1319, allocations: 11.94 kB / 0.4925 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.1324, allocations: 98.95 kB / 0.4926 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008534/0.1333, allocations: 206.2 kB / 0.4928 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.1341, allocations: 195.6 kB / 0.493 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.1353, allocations: 0.7784 MB / 0.4937 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.1358, allocations: 239.5 kB / 0.4939 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.1364, allocations: 299 kB / 0.4942 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.137, allocations: 342.5 kB / 0.4946 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.1372, allocations: 60 kB / 0.4946 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.1375, allocations: 87.98 kB / 0.4947 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1377, allocations: 147.5 kB / 0.4948 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.1381, allocations: 346.2 kB / 0.4952 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008044/0.1389, allocations: 0.7667 MB / 0.4959 GB, free: 3.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1389, allocations: 0 / 0.4959 GB, free: 3.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1389, allocations: 0 / 0.4959 GB, free: 3.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.1389, allocations: 0 / 0.4959 GB, free: 3.492 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.001967/0.1409, allocations: 0.9976 MB / 0.4969 GB, free: 2.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.1409, allocations: 11.89 kB / 0.4969 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.1411, allocations: 98.7 kB / 0.497 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.1412, allocations: 84 kB / 0.4971 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.1417, allocations: 397.8 kB / 0.4975 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.1418, allocations: 41.69 kB / 0.4975 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1419, allocations: 72.17 kB / 0.4976 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.143, allocations: 0.6344 MB / 0.4982 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.1431, allocations: 11.91 kB / 0.4982 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.1431, allocations: 20 kB / 0.4982 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.1431, allocations: 12 kB / 0.4982 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1442, allocations: 0.5333 MB / 0.4987 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.1473, allocations: 2.153 MB / 0.5008 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.1486, allocations: 0.6875 MB / 0.5015 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.1492, allocations: 355.1 kB / 0.5019 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.1493, allocations: 93.84 kB / 0.5019 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1494, allocations: 54.92 kB / 0.502 GB, free: 12.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.1494, allocations: 0 / 0.502 GB, free: 12.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.007759/0.1572, allocations: 4.493 MB / 0.5064 GB, free: 8.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.1573, allocations: 222.2 kB / 0.5066 GB, free: 7.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.1577, allocations: 365.9 kB / 0.5069 GB, free: 7.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.1577, allocations: 41.7 kB / 0.507 GB, free: 7.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.158, allocations: 268.9 kB / 0.5072 GB, free: 7.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.1582, allocations: 406 kB / 0.5076 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.1585, allocations: 182.9 kB / 0.5078 GB, free: 6.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1587, allocations: 378.8 kB / 0.5082 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.1594, allocations: 326.4 kB / 0.5085 GB, free: 5.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/0.1602, allocations: 0.4965 MB / 0.509 GB, free: 5.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.1617, allocations: 0.8663 MB / 0.5098 GB, free: 4.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.1617, allocations: 0 / 0.5098 GB, free: 4.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001765/0.1635, allocations: 1.011 MB / 0.5108 GB, free: 3.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1635, allocations: 11.25 kB / 0.5108 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1635, allocations: 8 kB / 0.5108 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.1636, allocations: 12 kB / 0.5108 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.1646, allocations: 283.6 kB / 0.5111 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.1646, allocations: 11.94 kB / 0.5111 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.1651, allocations: 48.25 kB / 0.5112 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/0.1652, allocations: 43.98 kB / 0.5112 GB, free: 2.902 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.0002804/0.1655, allocations: 237.5 kB / 0.5114 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.1657, allocations: 83.03 kB / 0.5115 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.1661, allocations: 222.8 kB / 0.5117 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.1661, allocations: 12 kB / 0.5117 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.1662, allocations: 8.062 kB / 0.5117 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.1662, allocations: 3.984 kB / 0.5117 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.1699, allocations: 2.332 MB / 0.514 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.1699, allocations: 4.281 kB / 0.514 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.171, allocations: 255.6 kB / 0.5143 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/0.171, allocations: 11.94 kB / 0.5143 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/0.1711, allocations: 27.98 kB / 0.5143 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.1711, allocations: 8 kB / 0.5143 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1711, allocations: 4 kB / 0.5143 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.1737, allocations: 1.905 MB / 0.5162 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.1739, allocations: 192.2 kB / 0.5164 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/0.174, allocations: 31.92 kB / 0.5164 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.1747, allocations: 43.97 kB / 0.5164 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.1748, allocations: 92.33 kB / 0.5165 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.1749, allocations: 28 kB / 0.5165 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.1751, allocations: 255.1 kB / 0.5168 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1752, allocations: 0 / 0.5168 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008833/0.176, allocations: 192.2 kB / 0.517 GB, free: 12.81 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.002778/0.1788, allocations: 2.484 MB / 0.5194 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.1804, allocations: 0.847 MB / 0.5202 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1805, allocations: 0 / 0.5202 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008644/0.1813, allocations: 0.4908 MB / 0.5207 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.1826, allocations: 138.8 kB / 0.5208 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009995/0.1926, allocations: 7.196 MB / 0.5279 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.1932, allocations: 0.9439 MB / 0.5288 GB, free: 332 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00039/0.1936, allocations: 101.7 kB / 0.5289 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2116/0.4052, allocations: 261.2 kB / 0.5291 GB, free: 39.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4053, allocations: 0 / 0.5291 GB, free: 39.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.4445, allocations: 13.85 MB / 0.5427 GB, free: 36.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.003/9.447, allocations: 1.344 kB / 0.5427 GB, free: 36.6 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