Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 84.38 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 168.7 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.791e-05/3.954e-05, allocations: 6.938 kB / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003458/0.003497, allocations: 1.935 MB / 327 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.004564, allocations: 0.559 MB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.004684, allocations: 3.219 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.004813, allocations: 20.06 kB / 327.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.107e-05/0.004904, allocations: 36.84 kB / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.005172, allocations: 55.58 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.005387, allocations: 154 kB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.005544, allocations: 49.78 kB / 327.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.005759, allocations: 105.3 kB / 328 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.005863, allocations: 46.12 kB / 328 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.005892, allocations: 14 kB / 328 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.00595, allocations: 17.94 kB / 328 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.005987, allocations: 37.59 kB / 328.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.006056, allocations: 50.11 kB / 328.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.006322, allocations: 172 kB / 328.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006325, allocations: 0 / 328.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006326, allocations: 0 / 328.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.006332, allocations: 4.984 kB / 328.3 MB, free: 14.5 MB / 302.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.0006544/0.006986, allocations: 370.4 kB / 328.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.00702, allocations: 9.922 kB / 328.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.00717, allocations: 25.03 kB / 328.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.007395, allocations: 144.8 kB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.007415, allocations: 13.44 kB / 328.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.007452, allocations: 12.84 kB / 328.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.007762, allocations: 151.8 kB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.007783, allocations: 8.641 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.007805, allocations: 11.08 kB / 329 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.007815, allocations: 6.906 kB / 329 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.008025, allocations: 87.69 kB / 329.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.008806, allocations: 411.3 kB / 329.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.00899, allocations: 79.17 kB / 329.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.009064, allocations: 25.97 kB / 329.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.009083, allocations: 1.031 kB / 329.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.009116, allocations: 36.73 kB / 329.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.009118, allocations: 1.219 kB / 329.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001027/0.01014, allocations: 454.9 kB / 330.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.01019, allocations: 53.39 kB / 330.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.01033, allocations: 142.6 kB / 330.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.01035, allocations: 26.98 kB / 330.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.01046, allocations: 134.9 kB / 330.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.0105, allocations: 43.72 kB / 330.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.01056, allocations: 36.48 kB / 330.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.01072, allocations: 324.4 kB / 330.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.0108, allocations: 30.62 kB / 330.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.01094, allocations: 90.45 kB / 331 MB, free: 12.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.01116, allocations: 135.7 kB / 331.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01116, allocations: 0 / 331.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002863/0.01144, allocations: 152 kB / 331.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01146, allocations: 10.38 kB / 331.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01147, allocations: 2.219 kB / 331.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01148, allocations: 3.219 kB / 331.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.01164, allocations: 41.88 kB / 331.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.01165, allocations: 6.984 kB / 331.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.01173, allocations: 8.281 kB / 331.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.01175, allocations: 10.44 kB / 331.3 MB, free: 12.12 MB / 302.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.0001216/0.01187, allocations: 129.4 kB / 331.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.0119, allocations: 9.078 kB / 331.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.01194, allocations: 16.05 kB / 331.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.01194, allocations: 9.75 kB / 331.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.01195, allocations: 0 / 331.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01196, allocations: 1.812 kB / 331.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.01253, allocations: 366.2 kB / 331.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01254, allocations: 1.219 kB / 331.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.01267, allocations: 27.8 kB / 331.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01268, allocations: 1.219 kB / 331.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.01269, allocations: 7.203 kB / 331.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01269, allocations: 5.156 kB / 331.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.0127, allocations: 5.062 kB / 331.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.01306, allocations: 244.8 kB / 332.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.01308, allocations: 11.83 kB / 332.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.0131, allocations: 7.359 kB / 332.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.01318, allocations: 2.406 kB / 332.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.01324, allocations: 19.61 kB / 332.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.01325, allocations: 3.344 kB / 332.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.563e-05/0.01332, allocations: 99.45 kB / 332.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01332, allocations: 4.062 kB / 332.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.0136, allocations: 27.31 kB / 332.3 MB, free: 11.36 MB / 302.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.0001316/0.01373, allocations: 98.31 kB / 332.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.01397, allocations: 84.8 kB / 332.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01397, allocations: 1.312 kB / 332.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.01406, allocations: 39.3 kB / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.01439, allocations: 19.75 kB / 332.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007303/0.01512, allocations: 367 kB / 332.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.01522, allocations: 101.8 kB / 333 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.645e-05/0.01528, allocations: 14.97 kB / 333 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.01532, allocations: 15 kB / 333 MB, free: 10.83 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.01532, allocations: 0 / 333 MB, free: 10.83 MB / 302.1 MB Notification: Performance of Templates: time 0.003842/0.01916, allocations: 0.8354 MB / 333.9 MB, free: 10.4 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.067982949316502]