Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008571/0.008571, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002111/0.002111, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.5 MB / 258.9 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2358/0.2358, allocations: 46.93 MB / 362.3 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 80.14 kB / 0.4982 GB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3204, allocations: 66.08 MB / 0.5627 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005559/0.326, allocations: 4.205 MB / 0.5668 GB, free: 52 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3284, allocations: 1.196 MB / 0.568 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.3288, allocations: 23.81 kB / 0.568 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.3291, allocations: 98.95 kB / 0.5681 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.3295, allocations: 210.1 kB / 0.5683 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.3301, allocations: 227.6 kB / 0.5685 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009047/0.331, allocations: 0.7978 MB / 0.5693 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.3313, allocations: 171.7 kB / 0.5695 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.3318, allocations: 330.8 kB / 0.5698 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.3323, allocations: 346.5 kB / 0.5701 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.3324, allocations: 56 kB / 0.5702 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.3326, allocations: 91.98 kB / 0.5703 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.3327, allocations: 151.4 kB / 0.5704 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.3331, allocations: 358.1 kB / 0.5707 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009045/0.334, allocations: 0.7883 MB / 0.5715 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.334, allocations: 0 / 0.5715 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.334, allocations: 0 / 0.5715 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.334, allocations: 0 / 0.5715 GB, free: 11.23 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.001928/0.3359, allocations: 0.9565 MB / 0.5724 GB, free: 10.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3359, allocations: 12.03 kB / 0.5725 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006808/0.3366, allocations: 144.3 kB / 0.5726 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.3372, allocations: 376 kB / 0.573 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.3373, allocations: 37.69 kB / 0.573 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3374, allocations: 68.33 kB / 0.5731 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.3385, allocations: 0.6232 MB / 0.5737 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.3386, allocations: 11.94 kB / 0.5737 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.3386, allocations: 24 kB / 0.5737 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.3386, allocations: 16 kB / 0.5737 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.3397, allocations: 0.5112 MB / 0.5742 GB, free: 8.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.343, allocations: 2.117 MB / 0.5763 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.3442, allocations: 0.6487 MB / 0.5769 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.3448, allocations: 315.2 kB / 0.5772 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.3449, allocations: 20.73 kB / 0.5772 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.345, allocations: 50.92 kB / 0.5773 GB, free: 5.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 5.05e-06/0.345, allocations: 4 kB / 0.5773 GB, free: 5.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.007863/0.3528, allocations: 3.944 MB / 0.5811 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.353, allocations: 222.2 kB / 0.5813 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/0.3534, allocations: 393.9 kB / 0.5817 GB, free: 228 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.3535, allocations: 41.7 kB / 0.5818 GB, free: 180 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.3537, allocations: 281.7 kB / 0.582 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.354, allocations: 432.2 kB / 0.5824 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.3543, allocations: 187 kB / 0.5826 GB, free: 15.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3545, allocations: 378.8 kB / 0.583 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/0.3551, allocations: 310.4 kB / 0.5833 GB, free: 14.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000784/0.3559, allocations: 0.4965 MB / 0.5838 GB, free: 14.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.3574, allocations: 0.8584 MB / 0.5846 GB, free: 13.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.3574, allocations: 4 kB / 0.5846 GB, free: 13.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001843/0.3592, allocations: 0.9926 MB / 0.5856 GB, free: 12.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.3593, allocations: 8 kB / 0.5856 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.3593, allocations: 4.438 kB / 0.5856 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.3593, allocations: 16 kB / 0.5856 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.3603, allocations: 275.6 kB / 0.5859 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.687e-05/0.3603, allocations: 19.92 kB / 0.5859 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.3608, allocations: 43.98 kB / 0.5859 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.3608, allocations: 39.98 kB / 0.586 GB, free: 11.7 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.0003476/0.3612, allocations: 229.5 kB / 0.5862 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.3614, allocations: 87.47 kB / 0.5863 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.3619, allocations: 227 kB / 0.5865 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.3619, allocations: 16 kB / 0.5865 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.3619, allocations: 0 / 0.5865 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.3619, allocations: 7.984 kB / 0.5865 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.3657, allocations: 2.296 MB / 0.5887 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3657, allocations: 4 kB / 0.5888 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.3668, allocations: 247.9 kB / 0.589 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.3668, allocations: 12 kB / 0.589 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.3669, allocations: 31.98 kB / 0.589 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.3669, allocations: 8 kB / 0.589 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.3669, allocations: 7.938 kB / 0.589 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.3695, allocations: 1.891 MB / 0.5909 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.3698, allocations: 127.4 kB / 0.591 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.3699, allocations: 39.92 kB / 0.5911 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.3704, allocations: 31.98 kB / 0.5911 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.3706, allocations: 96.38 kB / 0.5912 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.3707, allocations: 31.98 kB / 0.5912 GB, free: 6.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.371, allocations: 271.1 kB / 0.5915 GB, free: 5.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 0 / 0.5915 GB, free: 5.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008567/0.3718, allocations: 192 kB / 0.5916 GB, free: 5.73 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.0002183/0.372, allocations: 143.1 kB / 0.5918 GB, free: 5.582 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.3736, allocations: 0.7846 MB / 0.5925 GB, free: 4.801 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.3736, allocations: 8 kB / 0.5926 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008309/0.3744, allocations: 472.5 kB / 0.593 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.3756, allocations: 133.1 kB / 0.5931 GB, free: 4.207 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.3793, allocations: 2.269 MB / 0.5953 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.3799, allocations: 0.9518 MB / 0.5963 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.3802, allocations: 75.42 kB / 0.5964 GB, free: 0.793 MB / 430.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3802, allocations: 0 / 0.5964 GB, free: 0.793 MB / 430.1 MB Notification: Performance of Templates: time 0.01425/0.3944, allocations: 9.283 MB / 0.6054 GB, free: 7.516 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.4904240348842]