Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 47.92 kB / 368.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2849, allocations: 52.15 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003586/0.2885, allocations: 2.012 MB / 422.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000963/0.2895, allocations: 0.5142 MB / 423.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2896, allocations: 4 kB / 423.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.2898, allocations: 23.73 kB / 423.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.612e-05/0.2899, allocations: 31.72 kB / 423.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.2901, allocations: 47.88 kB / 423.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.2903, allocations: 147.4 kB / 423.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2905, allocations: 53.52 kB / 423.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.2906, allocations: 63.8 kB / 423.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2907, allocations: 71.67 kB / 423.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.2908, allocations: 16 kB / 423.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.2908, allocations: 12 kB / 423.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.2908, allocations: 27.92 kB / 423.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.77e-05/0.2909, allocations: 71.67 kB / 423.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.2911, allocations: 172.5 kB / 424.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2911, allocations: 8 kB / 424.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2911, allocations: 0 / 424.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.2912, allocations: 3.984 kB / 424.1 MB, free: 11.87 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006949/0.2918, allocations: 442.8 kB / 424.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2919, allocations: 8.031 kB / 424.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.2919, allocations: 16.84 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.2923, allocations: 196.2 kB / 424.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.2923, allocations: 20.38 kB / 424.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.2923, allocations: 16.33 kB / 424.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.2927, allocations: 146.7 kB / 424.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.2927, allocations: 0 / 424.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.2928, allocations: 8 kB / 425 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.2928, allocations: 4 kB / 425 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.2931, allocations: 95.62 kB / 425.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.2939, allocations: 0.5328 MB / 425.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.2941, allocations: 70.5 kB / 425.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.2942, allocations: 28.84 kB / 425.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2942, allocations: 4 kB / 425.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.2942, allocations: 34.56 kB / 425.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2942, allocations: 0 / 425.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001093/0.2953, allocations: 0.5989 MB / 426.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.2954, allocations: 55.34 kB / 426.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.2955, allocations: 129.8 kB / 426.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2955, allocations: 29.7 kB / 426.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2956, allocations: 144.1 kB / 426.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.2957, allocations: 43.64 kB / 426.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.2957, allocations: 33.7 kB / 426.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2959, allocations: 318.8 kB / 427.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.2959, allocations: 31.97 kB / 427.1 MB, free: 8.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.2961, allocations: 82.86 kB / 427.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.2963, allocations: 130.7 kB / 427.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2963, allocations: 4 kB / 427.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002932/0.2966, allocations: 166 kB / 427.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2966, allocations: 4.188 kB / 427.5 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.2966, allocations: 8 kB / 427.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2966, allocations: 0 / 427.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2968, allocations: 39.92 kB / 427.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2968, allocations: 3.984 kB / 427.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.357e-05/0.2969, allocations: 11.94 kB / 427.5 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2969, allocations: 8 kB / 427.5 MB, free: 8.086 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001094/0.297, allocations: 121.9 kB / 427.7 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.297, allocations: 15.89 kB / 427.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.2971, allocations: 16.38 kB / 427.7 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2971, allocations: 7.938 kB / 427.7 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2971, allocations: 3.984 kB / 427.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2971, allocations: 4 kB / 427.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/0.2977, allocations: 451.9 kB / 428.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2977, allocations: 0 / 428.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.2978, allocations: 27.98 kB / 428.2 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2978, allocations: 4 kB / 428.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2978, allocations: 4 kB / 428.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2978, allocations: 0 / 428.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2978, allocations: 0 / 428.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.2982, allocations: 253.1 kB / 428.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.2983, allocations: 89.08 kB / 428.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.2983, allocations: 0 / 428.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.2984, allocations: 4 kB / 428.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.2984, allocations: 11.98 kB / 428.5 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2984, allocations: 4 kB / 428.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.481e-05/0.2985, allocations: 95.27 kB / 428.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2985, allocations: 0 / 428.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.2988, allocations: 27.94 kB / 428.7 MB, free: 6.855 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001224/0.2989, allocations: 103.8 kB / 428.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.2991, allocations: 87.83 kB / 428.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2991, allocations: 0 / 428.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.2992, allocations: 39.92 kB / 428.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2995, allocations: 16.28 kB / 428.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.3004, allocations: 435.1 kB / 429.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.3007, allocations: 0.7158 MB / 430 MB, free: 5.406 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.407e-05/0.3008, allocations: 8.875 kB / 430 MB, free: 5.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.3008, allocations: 19.38 kB / 430.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3008, allocations: 0 / 430.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of Templates: time 0.003836/0.3047, allocations: 0.9042 MB / 431 MB, free: 4.473 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.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: 4.3762143813073635]