Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_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.001365/0.001366, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001468/0.001468, allocations: 184.2 kB / 18.71 MB, free: 4.332 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.452/1.452, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2218/0.2218, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004721/0.3437, allocations: 4.102 MB / 0.5224 GB, free: 380 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.3462, allocations: 1.066 MB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.3467, allocations: 14 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.347, allocations: 103.6 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005579/0.3476, allocations: 199 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.3483, allocations: 192.6 kB / 0.5239 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.3493, allocations: 0.7813 MB / 0.5247 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.3497, allocations: 242.5 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.3503, allocations: 309.4 kB / 0.5252 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.3507, allocations: 335.3 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3509, allocations: 60.47 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.3511, allocations: 82.19 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.3512, allocations: 144.8 kB / 0.5258 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.3517, allocations: 353.9 kB / 0.5262 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.3527, allocations: 0.7657 MB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3527, allocations: 0 / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3528, allocations: 0.8438 kB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.3528, allocations: 4.844 kB / 0.5269 GB, free: 13.83 MB / 398.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.002251/0.355, allocations: 1.015 MB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3551, allocations: 9.344 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.3552, allocations: 104.7 kB / 0.528 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.3554, allocations: 84.14 kB / 0.5281 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.3561, allocations: 410.8 kB / 0.5285 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.3561, allocations: 41.12 kB / 0.5285 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3562, allocations: 67.45 kB / 0.5286 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.3576, allocations: 0.6284 MB / 0.5292 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.3576, allocations: 7.609 kB / 0.5292 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.3577, allocations: 25.16 kB / 0.5292 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.3577, allocations: 14.47 kB / 0.5293 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.359, allocations: 0.5373 MB / 0.5298 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.3625, allocations: 2.144 MB / 0.5319 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.364, allocations: 0.7033 MB / 0.5326 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.3647, allocations: 341.2 kB / 0.5329 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.3649, allocations: 105.7 kB / 0.533 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3649, allocations: 51.47 kB / 0.533 GB, free: 9.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.3649, allocations: 1.406 kB / 0.533 GB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.00911/0.374, allocations: 4.543 MB / 0.5375 GB, free: 5.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.3742, allocations: 222.6 kB / 0.5377 GB, free: 5.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.3747, allocations: 371.7 kB / 0.538 GB, free: 5.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.008e-05/0.3748, allocations: 42.02 kB / 0.5381 GB, free: 5.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.3751, allocations: 275.5 kB / 0.5383 GB, free: 5.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.3754, allocations: 419.9 kB / 0.5387 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.3757, allocations: 188.5 kB / 0.5389 GB, free: 4.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.376, allocations: 382.2 kB / 0.5393 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/0.3767, allocations: 314.7 kB / 0.5396 GB, free: 4.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.3776, allocations: 0.5084 MB / 0.5401 GB, free: 3.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.3793, allocations: 0.8671 MB / 0.5409 GB, free: 3.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3793, allocations: 1.188 kB / 0.5409 GB, free: 3.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002111/0.3814, allocations: 1.012 MB / 0.5419 GB, free: 2.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3814, allocations: 11.81 kB / 0.5419 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3815, allocations: 3.938 kB / 0.5419 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.3815, allocations: 11.22 kB / 0.5419 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3826, allocations: 277.7 kB / 0.5422 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.3826, allocations: 15.06 kB / 0.5422 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.3832, allocations: 54.84 kB / 0.5423 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.3833, allocations: 42.2 kB / 0.5423 GB, free: 2.59 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.0003952/0.3837, allocations: 228.3 kB / 0.5425 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.384, allocations: 84.42 kB / 0.5426 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.3845, allocations: 219 kB / 0.5428 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.3845, allocations: 15.98 kB / 0.5428 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.3846, allocations: 0 / 0.5428 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.3846, allocations: 11.98 kB / 0.5428 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/0.3889, allocations: 2.336 MB / 0.5451 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.3889, allocations: 4 kB / 0.5451 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.3901, allocations: 247.7 kB / 0.5454 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/0.3901, allocations: 11.94 kB / 0.5454 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/0.3902, allocations: 31.98 kB / 0.5454 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/0.3902, allocations: 8.062 kB / 0.5454 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.3902, allocations: 11.94 kB / 0.5454 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.3934, allocations: 1.898 MB / 0.5473 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.3938, allocations: 200.6 kB / 0.5475 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.3939, allocations: 31.88 kB / 0.5475 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.3946, allocations: 47.97 kB / 0.5476 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.3948, allocations: 88.33 kB / 0.5476 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/0.3949, allocations: 35.98 kB / 0.5477 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.3952, allocations: 243.2 kB / 0.5479 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3952, allocations: 4 kB / 0.5479 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009741/0.3962, allocations: 196 kB / 0.5481 GB, free: 12.61 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.003422/0.3996, allocations: 2.481 MB / 0.5505 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.4015, allocations: 0.8509 MB / 0.5513 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4016, allocations: 0 / 0.5513 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009937/0.4026, allocations: 495.2 kB / 0.5518 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.404, allocations: 140.9 kB / 0.552 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.4159, allocations: 7.235 MB / 0.559 GB, free: 1.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.4166, allocations: 0.9517 MB / 0.5599 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005041/0.4172, allocations: 101.7 kB / 0.56 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.4176, allocations: 259.3 kB / 0.5603 GB, free: 15.73 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4176, allocations: 4 kB / 0.5603 GB, free: 15.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.4627, allocations: 13.83 MB / 0.5738 GB, free: 2.039 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.333/9.796, allocations: 5.641 kB / 0.5738 GB, free: 2.035 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches