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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 214.2 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 44.91 MB / 358.8 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 63.89 kB / 0.4931 GB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3129, allocations: 65.48 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005878/0.3188, allocations: 4.191 MB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.3213, allocations: 1.196 MB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.3217, allocations: 19.88 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.322, allocations: 102.9 kB / 0.5624 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.3226, allocations: 214.1 kB / 0.5626 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.3232, allocations: 227.6 kB / 0.5628 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3243, allocations: 0.7978 MB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.3247, allocations: 165.9 kB / 0.5637 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006166/0.3253, allocations: 334.8 kB / 0.5641 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005107/0.3258, allocations: 338.5 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3259, allocations: 60 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.3261, allocations: 95.92 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.3263, allocations: 151.4 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003684/0.3267, allocations: 354.2 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3277, allocations: 0.7895 MB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3277, allocations: 0 / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3277, allocations: 0 / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.3277, allocations: 0 / 0.5658 GB, free: 14.77 MB / 414.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.002191/0.3299, allocations: 0.9603 MB / 0.5667 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3299, allocations: 12.03 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.3301, allocations: 98.69 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006795/0.3307, allocations: 148.3 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.3314, allocations: 364.1 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.3314, allocations: 45.69 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3316, allocations: 72.06 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.3327, allocations: 0.6116 MB / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.3328, allocations: 11.95 kB / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.3328, allocations: 24 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.3329, allocations: 19.98 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.334, allocations: 0.5113 MB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/0.3375, allocations: 2.113 MB / 0.5706 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.3388, allocations: 0.6571 MB / 0.5713 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.3394, allocations: 325 kB / 0.5716 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.3395, allocations: 20.42 kB / 0.5716 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.3396, allocations: 50.94 kB / 0.5717 GB, free: 8.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.856e-06/0.3396, allocations: 0 / 0.5717 GB, free: 8.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008504/0.3481, allocations: 3.957 MB / 0.5755 GB, free: 4.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.3482, allocations: 218.3 kB / 0.5757 GB, free: 4.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.3487, allocations: 390 kB / 0.5761 GB, free: 3.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/0.3488, allocations: 45.7 kB / 0.5762 GB, free: 3.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.349, allocations: 277.5 kB / 0.5764 GB, free: 3.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/0.3494, allocations: 436.2 kB / 0.5768 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.3496, allocations: 186.9 kB / 0.577 GB, free: 2.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.3499, allocations: 386.7 kB / 0.5774 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.3505, allocations: 310.5 kB / 0.5777 GB, free: 2.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008145/0.3513, allocations: 0.4926 MB / 0.5782 GB, free: 1.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.3529, allocations: 0.8545 MB / 0.579 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3529, allocations: 0 / 0.579 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001913/0.3548, allocations: 0.9963 MB / 0.58 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3548, allocations: 8 kB / 0.58 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3548, allocations: 4 kB / 0.58 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.3549, allocations: 8 kB / 0.58 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.3559, allocations: 283.6 kB / 0.5803 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/0.3559, allocations: 15.92 kB / 0.5803 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.3564, allocations: 44.3 kB / 0.5803 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/0.3565, allocations: 43.98 kB / 0.5804 GB, free: 15.12 MB / 430.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.0003712/0.3569, allocations: 233.5 kB / 0.5806 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.3572, allocations: 83.47 kB / 0.5807 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.3577, allocations: 227 kB / 0.5809 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.3577, allocations: 12 kB / 0.5809 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.3577, allocations: 8 kB / 0.5809 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.3577, allocations: 3.984 kB / 0.5809 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.3619, allocations: 2.296 MB / 0.5831 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.3619, allocations: 0 / 0.5831 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.363, allocations: 259.5 kB / 0.5834 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.363, allocations: 8.062 kB / 0.5834 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.3631, allocations: 28 kB / 0.5834 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.3631, allocations: 8.078 kB / 0.5834 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/0.3631, allocations: 11.97 kB / 0.5834 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.366, allocations: 1.886 MB / 0.5853 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.3663, allocations: 127.4 kB / 0.5854 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3664, allocations: 24 kB / 0.5854 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/0.3671, allocations: 43.97 kB / 0.5855 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.3672, allocations: 92.38 kB / 0.5856 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.3673, allocations: 32 kB / 0.5856 GB, free: 9.609 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003282/0.3676, allocations: 267.1 kB / 0.5858 GB, free: 9.348 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3676, allocations: 0 / 0.5858 GB, free: 9.348 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009884/0.3686, allocations: 200 kB / 0.586 GB, free: 9.152 MB / 430.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.003262/0.3719, allocations: 2.462 MB / 0.5884 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.3737, allocations: 0.7962 MB / 0.5892 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3737, allocations: 0 / 0.5892 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009695/0.3747, allocations: 472.6 kB / 0.5897 GB, free: 5.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.3762, allocations: 141.7 kB / 0.5898 GB, free: 5.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.388, allocations: 7.299 MB / 0.5969 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.3888, allocations: 0.9557 MB / 0.5979 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004764/0.3893, allocations: 102 kB / 0.598 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/0.3897, allocations: 271.3 kB / 0.5982 GB, free: 12.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3897, allocations: 4 kB / 0.5982 GB, free: 12.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05303/0.4427, allocations: 15.09 MB / 0.613 GB, free: 13.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.89, allocations: 7.875 kB / 0.613 GB, free: 13.39 MB / 462.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.114808049984276]