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: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 93.84 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 200.8 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.128/1.128, allocations: 227.7 MB / 246.8 MB, free: 9.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1608/0.1608, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002086/0.0002086, allocations: 7.938 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08471/0.08493, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003318/0.08828, allocations: 3.782 MB / 486.8 MB, free: 360 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.08972, allocations: 1.161 MB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.08989, allocations: 23.88 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.09006, allocations: 71.39 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.09039, allocations: 174.6 kB / 488.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.09082, allocations: 195.7 kB / 488.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.09143, allocations: 0.7627 MB / 489.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.09171, allocations: 210.7 kB / 489.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.09199, allocations: 262.9 kB / 489.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.0923, allocations: 310.4 kB / 490 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.09236, allocations: 35.94 kB / 490 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.09249, allocations: 63.98 kB / 490.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.0926, allocations: 115.4 kB / 490.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.09284, allocations: 343.9 kB / 490.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.09337, allocations: 0.7317 MB / 491.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.09338, allocations: 4 kB / 491.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09339, allocations: 0 / 491.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.0934, allocations: 0 / 491.3 MB, free: 11.91 MB / 366.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.001389/0.09479, allocations: 0.9119 MB / 492.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.09483, allocations: 8.875 kB / 492.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005849/0.09542, allocations: 159.9 kB / 492.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.09584, allocations: 417.6 kB / 492.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.09589, allocations: 45.69 kB / 492.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.09598, allocations: 72.27 kB / 492.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.09696, allocations: 0.6271 MB / 493.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.097, allocations: 15.89 kB / 493.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.09705, allocations: 24 kB / 493.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.09707, allocations: 12 kB / 493.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009748/0.09805, allocations: 0.5529 MB / 494.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.1006, allocations: 2.19 MB / 496.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1016, allocations: 0.6999 MB / 497 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.1022, allocations: 351.1 kB / 497.3 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.1023, allocations: 93.53 kB / 497.4 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1023, allocations: 54.94 kB / 497.5 MB, free: 5.344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 1.814e-06/0.1023, allocations: 0 / 497.5 MB, free: 5.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.006928/0.1093, allocations: 4.594 MB / 0.4903 GB, free: 416 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.1094, allocations: 230.3 kB / 0.4905 GB, free: 136 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.1098, allocations: 389.9 kB / 0.4909 GB, free: 15.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.1098, allocations: 42.08 kB / 0.4909 GB, free: 15.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.11, allocations: 277 kB / 0.4912 GB, free: 15.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.1103, allocations: 410 kB / 0.4916 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1104, allocations: 93.66 kB / 0.4917 GB, free: 14.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1105, allocations: 386.7 kB / 0.492 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/0.1111, allocations: 322.5 kB / 0.4924 GB, free: 14.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/0.1118, allocations: 0.5199 MB / 0.4929 GB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.1131, allocations: 0.8784 MB / 0.4937 GB, free: 12.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1131, allocations: 0 / 0.4937 GB, free: 12.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001517/0.1147, allocations: 1.031 MB / 0.4947 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1147, allocations: 8 kB / 0.4947 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1147, allocations: 4 kB / 0.4947 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1147, allocations: 12 kB / 0.4947 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/0.1156, allocations: 287.7 kB / 0.495 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.1156, allocations: 15.98 kB / 0.495 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.116, allocations: 52.08 kB / 0.4951 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.1161, allocations: 47.98 kB / 0.4951 GB, free: 11.22 MB / 382.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.0002456/0.1163, allocations: 229.5 kB / 0.4954 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.1165, allocations: 83 kB / 0.4954 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.1169, allocations: 231.2 kB / 0.4957 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.1169, allocations: 12 kB / 0.4957 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.117, allocations: 4 kB / 0.4957 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.117, allocations: 3.984 kB / 0.4957 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.12, allocations: 2.382 MB / 0.498 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.1201, allocations: 4 kB / 0.498 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009026/0.121, allocations: 256 kB / 0.4982 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.121, allocations: 11.94 kB / 0.4983 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.121, allocations: 28 kB / 0.4983 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.1211, allocations: 15.92 kB / 0.4983 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1211, allocations: 4 kB / 0.4983 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.1232, allocations: 1.916 MB / 0.5002 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.1234, allocations: 208 kB / 0.5004 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.1235, allocations: 27.98 kB / 0.5004 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.124, allocations: 47.98 kB / 0.5004 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.1242, allocations: 84.39 kB / 0.5005 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.1242, allocations: 35.98 kB / 0.5006 GB, free: 5.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.1244, allocations: 267.1 kB / 0.5008 GB, free: 5.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1244, allocations: 0 / 0.5008 GB, free: 5.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006859/0.1251, allocations: 195.9 kB / 0.501 GB, free: 5.027 MB / 382.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.0001545/0.1253, allocations: 157 kB / 0.5012 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.1266, allocations: 0.8472 MB / 0.502 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1266, allocations: 3.938 kB / 0.502 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.1273, allocations: 0.4919 MB / 0.5025 GB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.1286, allocations: 130.2 kB / 0.5026 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.1316, allocations: 2.741 MB / 0.5053 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1478/0.2795, allocations: 0.9492 MB / 0.5062 GB, free: 38.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004627/0.2799, allocations: 100.8 kB / 0.5063 GB, free: 38.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.2801, allocations: 63.5 kB / 0.5063 GB, free: 38.96 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2801, allocations: 0 / 0.5063 GB, free: 38.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01097/0.2911, allocations: 6.805 MB / 0.513 GB, free: 38.72 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches