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.001281/0.001281, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001514/0.001514, allocations: 169.9 kB / 24.5 MB, free: 3.453 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.415/1.415, allocations: 177.2 MB / 204.9 MB, free: 8.949 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 0.001634/0.001634, allocations: 50.2 kB / 325.6 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09212, allocations: 53.33 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003302/0.09542, allocations: 1.937 MB / 380.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000988/0.09641, allocations: 0.5376 MB / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.0965, allocations: 0 / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.09661, allocations: 27.72 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.0967, allocations: 35.7 kB / 381.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.09692, allocations: 51.86 kB / 381.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.09714, allocations: 147.4 kB / 381.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.09729, allocations: 57.7 kB / 381.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.09745, allocations: 71.72 kB / 381.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.09756, allocations: 67.69 kB / 381.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.09759, allocations: 12 kB / 381.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.209e-05/0.09764, allocations: 16 kB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.09768, allocations: 31.91 kB / 381.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.09775, allocations: 59.73 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.09799, allocations: 175.2 kB / 382.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.09799, allocations: 4 kB / 382.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09799, allocations: 0 / 382.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.098, allocations: 0 / 382.1 MB, free: 12.48 MB / 350.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.0005968/0.0986, allocations: 377.6 kB / 382.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.09863, allocations: 8.031 kB / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.09877, allocations: 24.83 kB / 382.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.09901, allocations: 146.3 kB / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.09903, allocations: 12.38 kB / 382.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.09906, allocations: 16.38 kB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.09935, allocations: 150.7 kB / 382.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.09937, allocations: 7.938 kB / 382.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.09938, allocations: 8 kB / 382.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.09939, allocations: 4 kB / 382.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.0996, allocations: 87.94 kB / 382.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.1003, allocations: 419.8 kB / 383.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1005, allocations: 74.48 kB / 383.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.393e-05/0.1006, allocations: 28.84 kB / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.1006, allocations: 0 / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1006, allocations: 38.56 kB / 383.5 MB, free: 11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.1006, allocations: 0 / 383.5 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009417/0.1015, allocations: 463.3 kB / 383.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1016, allocations: 51.41 kB / 384 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1017, allocations: 145.9 kB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1017, allocations: 25.7 kB / 384.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.1018, allocations: 144.2 kB / 384.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.1019, allocations: 35.69 kB / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.1019, allocations: 33.72 kB / 384.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1021, allocations: 322.8 kB / 384.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.1021, allocations: 31.94 kB / 384.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1023, allocations: 82.84 kB / 384.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1025, allocations: 134.7 kB / 384.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1025, allocations: 0 / 384.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000278/0.1028, allocations: 157.4 kB / 385.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1028, allocations: 8 kB / 385.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1028, allocations: 0 / 385.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1028, allocations: 4 kB / 385.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1029, allocations: 40.67 kB / 385.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.103, allocations: 4 kB / 385.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.103, allocations: 7.938 kB / 385.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.103, allocations: 11.98 kB / 385.1 MB, free: 9.172 MB / 350.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.0001123/0.1032, allocations: 130.4 kB / 385.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.1032, allocations: 7.953 kB / 385.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.1032, allocations: 20.72 kB / 385.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1032, allocations: 3.938 kB / 385.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1032, allocations: 0 / 385.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1032, allocations: 3.938 kB / 385.3 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.1038, allocations: 375.7 kB / 385.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1038, allocations: 0 / 385.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.1039, allocations: 23.98 kB / 385.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1039, allocations: 3.938 kB / 385.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1039, allocations: 11.94 kB / 385.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1039, allocations: 0 / 385.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1039, allocations: 0 / 385.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1043, allocations: 249.2 kB / 386 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.1043, allocations: 15.95 kB / 386 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1043, allocations: 3.938 kB / 386 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.1044, allocations: 8 kB / 386 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1044, allocations: 15.86 kB / 386 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1044, allocations: 4 kB / 386 MB, free: 8.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.334e-05/0.1045, allocations: 99.27 kB / 386.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1045, allocations: 4 kB / 386.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1048, allocations: 24 kB / 386.1 MB, free: 8.113 MB / 350.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.0001007/0.1049, allocations: 99.31 kB / 386.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1051, allocations: 91.83 kB / 386.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1051, allocations: 0 / 386.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.1052, allocations: 35.92 kB / 386.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1055, allocations: 22 kB / 386.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.1062, allocations: 413.1 kB / 386.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.5e-05/0.1063, allocations: 101.6 kB / 386.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.1063, allocations: 12.91 kB / 386.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.1064, allocations: 20.5 kB / 386.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1064, allocations: 3.938 kB / 386.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of Templates: time 0.003498/0.1099, allocations: 0.8186 MB / 387.7 MB, free: 6.457 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/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.116684420965612]