Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.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.001849/0.001849, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.002241/0.002241, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001929/0.001929, allocations: 75.81 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2147, allocations: 53.32 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003269/0.2179, allocations: 2.024 MB / 434.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.2189, allocations: 0.5844 MB / 434.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.219, allocations: 4 kB / 434.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.2191, allocations: 23.78 kB / 434.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.2192, allocations: 31.66 kB / 434.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.2194, allocations: 51.88 kB / 434.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.2196, allocations: 147.4 kB / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.2198, allocations: 53.45 kB / 435 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.2199, allocations: 63.84 kB / 435 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.22, allocations: 75.69 kB / 435.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2201, allocations: 12 kB / 435.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.199e-05/0.2201, allocations: 19.94 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.2202, allocations: 31.86 kB / 435.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.2202, allocations: 79.66 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.2205, allocations: 169.3 kB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2205, allocations: 0 / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2205, allocations: 0 / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2205, allocations: 0 / 435.4 MB, free: 4.008 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.000633/0.2211, allocations: 454.8 kB / 435.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2211, allocations: 8.031 kB / 435.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2213, allocations: 28.83 kB / 435.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.2215, allocations: 204.1 kB / 436.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2216, allocations: 12.38 kB / 436.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.2216, allocations: 16.38 kB / 436.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.2219, allocations: 150 kB / 436.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2219, allocations: 7.953 kB / 436.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.2219, allocations: 7.984 kB / 436.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2219, allocations: 4 kB / 436.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.2221, allocations: 87.95 kB / 436.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.223, allocations: 0.5252 MB / 436.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.2231, allocations: 78.55 kB / 437 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.2232, allocations: 28.84 kB / 437 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2232, allocations: 0 / 437 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2232, allocations: 38.69 kB / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.2232, allocations: 0 / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001035/0.2243, allocations: 0.5955 MB / 437.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2243, allocations: 51.41 kB / 437.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2244, allocations: 138 kB / 437.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2245, allocations: 25.7 kB / 437.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.2245, allocations: 136.1 kB / 438 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.2246, allocations: 51.64 kB / 438 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.2246, allocations: 25.72 kB / 438 MB, free: 1.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2248, allocations: 323 kB / 438.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.2248, allocations: 27.98 kB / 438.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.225, allocations: 97.98 kB / 438.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.2252, allocations: 134.7 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2252, allocations: 12 kB / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002831/0.2255, allocations: 153.4 kB / 438.8 MB, free: 276 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2255, allocations: 4 kB / 438.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2255, allocations: 4 kB / 438.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2255, allocations: 4 kB / 438.8 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2257, allocations: 35.92 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2257, allocations: 8.109 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.2257, allocations: 12 kB / 438.8 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.2258, allocations: 8 kB / 438.8 MB, free: 200 kB / 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.0001054/0.2259, allocations: 129.8 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.2259, allocations: 7.953 kB / 439 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.2259, allocations: 12.66 kB / 439 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2259, allocations: 3.984 kB / 439 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2259, allocations: 0 / 439 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.226, allocations: 89 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.226, allocations: 8 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.2261, allocations: 4 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.2261, allocations: 7.984 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003217/0.2265, allocations: 188.9 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003903/0.2268, allocations: 330.7 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.594e-05/0.2269, allocations: 36.06 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.203e-05/0.227, allocations: 98.22 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Backend: time 1.7e-07/0.227, allocations: 0 / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.2274, allocations: 146.3 kB / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008736/0.2283, allocations: 0.8392 MB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Templates: time 0.003949/0.2323, allocations: 1.143 MB / 441.9 MB, free: 13.07 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.139187686145306]