Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 71.88 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3391, allocations: 62.45 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006469/0.3457, allocations: 4.161 MB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.3488, allocations: 1.175 MB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007709/0.3496, allocations: 14.62 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.35, allocations: 104.5 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006452/0.3507, allocations: 210.8 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.3514, allocations: 223.2 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.3526, allocations: 0.8059 MB / 0.537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004745/0.3531, allocations: 242.2 kB / 0.5373 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.3538, allocations: 314.8 kB / 0.5376 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.3543, allocations: 352 kB / 0.5379 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.3545, allocations: 62.06 kB / 0.538 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.3547, allocations: 96.14 kB / 0.538 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3549, allocations: 149.5 kB / 0.5382 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004714/0.3554, allocations: 351.9 kB / 0.5385 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.3567, allocations: 0.7932 MB / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3567, allocations: 0 / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3567, allocations: 0 / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.3567, allocations: 0 / 0.5393 GB, free: 6.684 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00235/0.3591, allocations: 1.032 MB / 0.5403 GB, free: 5.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.3592, allocations: 10.16 kB / 0.5403 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.3593, allocations: 101.4 kB / 0.5404 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006946/0.36, allocations: 154.5 kB / 0.5406 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.3607, allocations: 436.3 kB / 0.541 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.3608, allocations: 40.78 kB / 0.541 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3609, allocations: 71.23 kB / 0.5411 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.3621, allocations: 0.6209 MB / 0.5417 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.3622, allocations: 7.266 kB / 0.5417 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.3622, allocations: 25.22 kB / 0.5417 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.3622, allocations: 19.12 kB / 0.5417 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.3633, allocations: 0.51 MB / 0.5422 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.3668, allocations: 2.157 MB / 0.5443 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3682, allocations: 0.6901 MB / 0.545 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.3688, allocations: 337.4 kB / 0.5453 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.369, allocations: 99.02 kB / 0.5454 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.3691, allocations: 52 kB / 0.5455 GB, free: 2.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 3.457e-06/0.3691, allocations: 0 / 0.5455 GB, free: 2.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.008451/0.3775, allocations: 4.534 MB / 0.5499 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.3777, allocations: 226.3 kB / 0.5501 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.3782, allocations: 389.9 kB / 0.5505 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/0.3783, allocations: 45.7 kB / 0.5505 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.3785, allocations: 286.9 kB / 0.5508 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.3788, allocations: 436.2 kB / 0.5512 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.3791, allocations: 178.9 kB / 0.5514 GB, free: 11.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.3793, allocations: 382.8 kB / 0.5518 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.38, allocations: 306.4 kB / 0.5521 GB, free: 10.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.3807, allocations: 0.5004 MB / 0.5526 GB, free: 10.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.3821, allocations: 0.8588 MB / 0.5534 GB, free: 9.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.3822, allocations: 4 kB / 0.5534 GB, free: 9.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001885/0.3841, allocations: 0.9982 MB / 0.5544 GB, free: 8.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3841, allocations: 8 kB / 0.5544 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.3841, allocations: 8 kB / 0.5544 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/0.3842, allocations: 8 kB / 0.5544 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.3852, allocations: 275.6 kB / 0.5547 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.111e-05/0.3853, allocations: 15.94 kB / 0.5547 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.3858, allocations: 48.22 kB / 0.5547 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.3859, allocations: 44 kB / 0.5548 GB, free: 8 MB / 414.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 (145): * Single equations (assignments): 145 * 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.0003617/0.3863, allocations: 233.6 kB / 0.555 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.3866, allocations: 83.45 kB / 0.5551 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/0.3871, allocations: 222.9 kB / 0.5553 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.3871, allocations: 12.06 kB / 0.5553 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.3871, allocations: 8 kB / 0.5553 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.3871, allocations: 11.97 kB / 0.5553 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.3912, allocations: 2.325 MB / 0.5576 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.3913, allocations: 8.219 kB / 0.5576 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.3924, allocations: 247.6 kB / 0.5578 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/0.3924, allocations: 8 kB / 0.5578 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.064e-05/0.3925, allocations: 31.92 kB / 0.5579 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/0.3925, allocations: 8 kB / 0.5579 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.3925, allocations: 7.938 kB / 0.5579 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.3951, allocations: 1.89 MB / 0.5597 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.3955, allocations: 208.6 kB / 0.5599 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.3957, allocations: 24 kB / 0.5599 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/0.3964, allocations: 39.97 kB / 0.56 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.3966, allocations: 88.33 kB / 0.5601 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/0.3967, allocations: 39.98 kB / 0.5601 GB, free: 2.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003305/0.397, allocations: 263.1 kB / 0.5603 GB, free: 2.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.397, allocations: 0 / 0.5603 GB, free: 2.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000982/0.398, allocations: 196 kB / 0.5605 GB, free: 1.91 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 (116): * Single equations (assignments): 116 * 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.002961/0.401, allocations: 2.455 MB / 0.5629 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.4027, allocations: 0.8387 MB / 0.5638 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4027, allocations: 0 / 0.5638 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008726/0.4036, allocations: 491.9 kB / 0.5642 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.405, allocations: 147.4 kB / 0.5644 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4158, allocations: 7.297 MB / 0.5715 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.4165, allocations: 0.9518 MB / 0.5724 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004774/0.417, allocations: 102 kB / 0.5725 GB, free: 5.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/0.4174, allocations: 275.3 kB / 0.5728 GB, free: 4.98 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4174, allocations: 0 / 0.5728 GB, free: 4.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/0.4588, allocations: 14.23 MB / 0.5867 GB, free: 6.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.029/9.488, allocations: 4.969 kB / 0.5867 GB, free: 6.891 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches