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.001058/0.001058, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001115, allocations: 212 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.192/0.192, allocations: 46.11 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 75.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 62.43 MB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004522/0.2908, allocations: 4.174 MB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.2925, allocations: 1.176 MB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.2928, allocations: 15.31 kB / 0.5369 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.293, allocations: 100 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.2934, allocations: 211 kB / 0.5372 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.2939, allocations: 227.1 kB / 0.5374 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006804/0.2946, allocations: 0.8055 MB / 0.5382 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.2949, allocations: 238.8 kB / 0.5384 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.2952, allocations: 314 kB / 0.5387 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.2956, allocations: 347.7 kB / 0.539 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.008e-05/0.2957, allocations: 61.72 kB / 0.5391 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.2959, allocations: 92.8 kB / 0.5392 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.296, allocations: 149.6 kB / 0.5393 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.2963, allocations: 356.4 kB / 0.5397 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006779/0.297, allocations: 0.7835 MB / 0.5404 GB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.297, allocations: 0 / 0.5404 GB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.297, allocations: 0 / 0.5404 GB, free: 6.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.297, allocations: 1.156 kB / 0.5404 GB, free: 6.926 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.001618/0.2986, allocations: 1.011 MB / 0.5414 GB, free: 6.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.2987, allocations: 9.719 kB / 0.5414 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/0.2993, allocations: 151.5 kB / 0.5416 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.2998, allocations: 434.4 kB / 0.542 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.2999, allocations: 45.44 kB / 0.542 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.804e-05/0.3, allocations: 68.17 kB / 0.5421 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/0.301, allocations: 0.6162 MB / 0.5427 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.301, allocations: 12.34 kB / 0.5427 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.3011, allocations: 20.62 kB / 0.5427 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.3011, allocations: 18.42 kB / 0.5427 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.3021, allocations: 0.5141 MB / 0.5432 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/0.305, allocations: 2.161 MB / 0.5454 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.3062, allocations: 0.6871 MB / 0.546 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.3067, allocations: 335 kB / 0.5463 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.3069, allocations: 101.5 kB / 0.5464 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3069, allocations: 47 kB / 0.5465 GB, free: 2.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.685e-06/0.3069, allocations: 0 / 0.5465 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.007372/0.3143, allocations: 4.501 MB / 0.5509 GB, free: 13.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/0.3144, allocations: 230.2 kB / 0.5511 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.3148, allocations: 382 kB / 0.5515 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.3149, allocations: 53.77 kB / 0.5515 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.315, allocations: 273 kB / 0.5518 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3153, allocations: 413.9 kB / 0.5522 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.3156, allocations: 183 kB / 0.5523 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3157, allocations: 382.8 kB / 0.5527 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.3163, allocations: 310.4 kB / 0.553 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/0.317, allocations: 0.4965 MB / 0.5535 GB, free: 10.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.3183, allocations: 0.8622 MB / 0.5543 GB, free: 9.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3183, allocations: 8.562 kB / 0.5543 GB, free: 9.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001617/0.3199, allocations: 0.9952 MB / 0.5553 GB, free: 8.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3199, allocations: 8 kB / 0.5553 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3199, allocations: 4 kB / 0.5553 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.32, allocations: 15.94 kB / 0.5553 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/0.3209, allocations: 275.6 kB / 0.5556 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.3209, allocations: 11.98 kB / 0.5556 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.3214, allocations: 44.17 kB / 0.5557 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/0.3214, allocations: 47.98 kB / 0.5557 GB, free: 8.152 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.0002783/0.3217, allocations: 233.5 kB / 0.5559 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.3219, allocations: 79.09 kB / 0.556 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.3224, allocations: 222.9 kB / 0.5562 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3224, allocations: 16 kB / 0.5562 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.3224, allocations: 0 / 0.5562 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3224, allocations: 8.125 kB / 0.5562 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.3258, allocations: 2.328 MB / 0.5585 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3258, allocations: 4.062 kB / 0.5585 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009667/0.3268, allocations: 247.7 kB / 0.5587 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.3268, allocations: 11.94 kB / 0.5588 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.3269, allocations: 27.98 kB / 0.5588 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.3269, allocations: 11.94 kB / 0.5588 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3269, allocations: 4 kB / 0.5588 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.3292, allocations: 1.88 MB / 0.5606 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.3295, allocations: 212 kB / 0.5608 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.3296, allocations: 24 kB / 0.5609 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.3302, allocations: 35.98 kB / 0.5609 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.3303, allocations: 92.33 kB / 0.561 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.3304, allocations: 35.98 kB / 0.561 GB, free: 2.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.3306, allocations: 263.1 kB / 0.5613 GB, free: 2.273 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3307, allocations: 0 / 0.5613 GB, free: 2.273 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008328/0.3315, allocations: 200 kB / 0.5615 GB, free: 2.078 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.0001777/0.3317, allocations: 135.1 kB / 0.5616 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.3331, allocations: 0.8315 MB / 0.5624 GB, free: 1.105 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3331, allocations: 0 / 0.5624 GB, free: 1.105 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007592/0.3339, allocations: 495.1 kB / 0.5629 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.3351, allocations: 149.3 kB / 0.563 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.3383, allocations: 2.221 MB / 0.5652 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.3388, allocations: 0.9479 MB / 0.5661 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.3391, allocations: 75.41 kB / 0.5662 GB, free: 13.13 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3391, allocations: 4 kB / 0.5662 GB, free: 13.12 MB / 430.1 MB Notification: Performance of Templates: time 0.01267/0.3517, allocations: 9.237 MB / 0.5752 GB, free: 3.891 MB / 430.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/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