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.001829/0.001829, allocations: 80.67 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.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.001906/0.001906, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 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.514/1.514, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 1.463e-06/1.463e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.328e-05, allocations: 2.281 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002995/0.003018, allocations: 1.914 MB / 320.8 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000924/0.003942, allocations: 486.6 kB / 321.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.004111, allocations: 6.656 kB / 321.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.004241, allocations: 28.91 kB / 321.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.004368, allocations: 27.02 kB / 321.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.004596, allocations: 43.78 kB / 321.4 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.00483, allocations: 156 kB / 321.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.004996, allocations: 58.55 kB / 321.6 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.005219, allocations: 89.75 kB / 321.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.005341, allocations: 51.44 kB / 321.7 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.005377, allocations: 17.84 kB / 321.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.415e-05/0.005421, allocations: 14 kB / 321.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.005453, allocations: 32.45 kB / 321.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.633e-05/0.00552, allocations: 47.41 kB / 321.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.005773, allocations: 175.3 kB / 322 MB, free: 1.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.005777, allocations: 4 kB / 322 MB, free: 1.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005778, allocations: 0.9062 kB / 322 MB, free: 1.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.005784, allocations: 0 / 322 MB, free: 1.59 MB / 286.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.0005478/0.006332, allocations: 361.1 kB / 322.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.006366, allocations: 14.61 kB / 322.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.006421, allocations: 16.69 kB / 322.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.006623, allocations: 148.4 kB / 322.6 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.006642, allocations: 10.53 kB / 322.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.006682, allocations: 15.53 kB / 322.6 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.006965, allocations: 134.9 kB / 322.7 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.006984, allocations: 6.234 kB / 322.7 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.007001, allocations: 5.531 kB / 322.7 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.007008, allocations: 7.781 kB / 322.7 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.007213, allocations: 100.7 kB / 322.8 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.00786, allocations: 406.9 kB / 323.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.008022, allocations: 78.45 kB / 323.3 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.00809, allocations: 30.97 kB / 323.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.00811, allocations: 0 / 323.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.008128, allocations: 36.53 kB / 323.4 MB, free: 0.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.008129, allocations: 1.656 kB / 323.4 MB, free: 0.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008692/0.008999, allocations: 460.4 kB / 323.8 MB, free: 240 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.009019, allocations: 53.31 kB / 323.9 MB, free: 176 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.009108, allocations: 140.5 kB / 324 MB, free: 52 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.009119, allocations: 26.45 kB / 324 MB, free: 20 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.00932, allocations: 135.4 kB / 324.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.009361, allocations: 40.62 kB / 324.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.009419, allocations: 33.89 kB / 324.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.009567, allocations: 328.8 kB / 324.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.009655, allocations: 30.59 kB / 324.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.009781, allocations: 91.5 kB / 324.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.009992, allocations: 129.7 kB / 324.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.009994, allocations: 5.375 kB / 324.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002885/0.01028, allocations: 151 kB / 325 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.0103, allocations: 9.234 kB / 325 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.0103, allocations: 1.375 kB / 325 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.01032, allocations: 8.062 kB / 325 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.01048, allocations: 33.59 kB / 325 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.01049, allocations: 7.188 kB / 325 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.01057, allocations: 12.33 kB / 325 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01058, allocations: 6.906 kB / 325 MB, free: 15.23 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.0001176/0.0107, allocations: 132.7 kB / 325.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.01074, allocations: 9.062 kB / 325.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.01077, allocations: 11.72 kB / 325.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01078, allocations: 1.766 kB / 325.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01078, allocations: 0 / 325.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01079, allocations: 2.391 kB / 325.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.01135, allocations: 381.3 kB / 325.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01135, allocations: 1.25 kB / 325.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.01149, allocations: 31.34 kB / 325.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.0115, allocations: 1.312 kB / 325.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.01151, allocations: 1.984 kB / 325.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.01151, allocations: 1.844 kB / 325.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.01152, allocations: 5.188 kB / 325.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.01189, allocations: 248.8 kB / 325.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.0119, allocations: 8.578 kB / 325.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.01193, allocations: 6.25 kB / 325.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.01202, allocations: 7.078 kB / 325.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01206, allocations: 15.94 kB / 325.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.01207, allocations: 3.266 kB / 325.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.489e-05/0.01214, allocations: 102.1 kB / 326 MB, free: 14.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01214, allocations: 0 / 326 MB, free: 14.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.01243, allocations: 26.72 kB / 326 MB, free: 14.47 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.000114/0.01254, allocations: 95.73 kB / 326.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.01278, allocations: 93.28 kB / 326.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01278, allocations: 0 / 326.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.01287, allocations: 35.45 kB / 326.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.0132, allocations: 18.02 kB / 326.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.01392, allocations: 365.7 kB / 326.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.01403, allocations: 102.1 kB / 326.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.01408, allocations: 9.344 kB / 326.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.01412, allocations: 14 kB / 326.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01412, allocations: 0 / 326.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of Templates: time 0.004079/0.0182, allocations: 0.8238 MB / 327.6 MB, free: 13.83 MB / 302.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.3621500469744205]