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.001417/0.001417, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001461/0.001461, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 18.57 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.424/1.424, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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.743e-06/1.743e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.88e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003417/0.003446, allocations: 1.931 MB / 269.2 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.004664, allocations: 490.6 kB / 269.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.004751, allocations: 4 kB / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.004895, allocations: 27.72 kB / 269.7 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.004985, allocations: 31.7 kB / 269.8 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.005193, allocations: 43.88 kB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.005416, allocations: 151.4 kB / 270 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.005574, allocations: 61.7 kB / 270 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.005751, allocations: 87.8 kB / 270.1 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.005859, allocations: 47.88 kB / 270.2 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.00589, allocations: 12 kB / 270.2 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.087e-05/0.005921, allocations: 16 kB / 270.2 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.005964, allocations: 35.83 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.683e-05/0.006041, allocations: 47.91 kB / 270.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.006298, allocations: 175.4 kB / 270.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.0063, allocations: 0 / 270.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006301, allocations: 0 / 270.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.006305, allocations: 4 kB / 270.4 MB, free: 3.574 MB / 250.7 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.0006734/0.006978, allocations: 365.7 kB / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.007015, allocations: 8.922 kB / 270.8 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.007094, allocations: 28.84 kB / 270.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.007349, allocations: 141.5 kB / 271 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.007372, allocations: 16.38 kB / 271 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.007414, allocations: 16.36 kB / 271 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.00775, allocations: 142.6 kB / 271.1 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.00777, allocations: 8.125 kB / 271.1 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.007789, allocations: 4.375 kB / 271.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.007799, allocations: 7.938 kB / 271.2 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.008024, allocations: 91.69 kB / 271.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/0.008841, allocations: 415.7 kB / 271.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.009024, allocations: 70.55 kB / 271.7 MB, free: 2.188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.009105, allocations: 36.84 kB / 271.8 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.009122, allocations: 0 / 271.8 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.009156, allocations: 30.75 kB / 271.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.009156, allocations: 0 / 271.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.001073/0.01023, allocations: 467.1 kB / 272.2 MB, free: 1.598 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.01028, allocations: 51.41 kB / 272.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.01043, allocations: 141.3 kB / 272.4 MB, free: 1.391 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01045, allocations: 29.7 kB / 272.5 MB, free: 1.355 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.01057, allocations: 144.1 kB / 272.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.01061, allocations: 35.69 kB / 272.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.01068, allocations: 37.67 kB / 272.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.01087, allocations: 326.8 kB / 273 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.01095, allocations: 27.98 kB / 273 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.01109, allocations: 90.78 kB / 273.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.01133, allocations: 138.7 kB / 273.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01133, allocations: 0 / 273.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003217/0.01165, allocations: 157.4 kB / 273.4 MB, free: 348 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.01167, allocations: 8 kB / 273.4 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01167, allocations: 4.188 kB / 273.4 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.0117, allocations: 4 kB / 273.4 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.01187, allocations: 35.92 kB / 273.5 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.01188, allocations: 4 kB / 273.5 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.01196, allocations: 11.92 kB / 273.5 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.01197, allocations: 8 kB / 273.5 MB, free: 272 kB / 250.7 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.0001284/0.0121, allocations: 129.7 kB / 273.6 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.01214, allocations: 11.95 kB / 273.6 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.01218, allocations: 16.47 kB / 273.6 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01219, allocations: 4 kB / 273.6 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01219, allocations: 4 kB / 273.6 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.0122, allocations: 3.984 kB / 273.6 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006055/0.0128, allocations: 367.7 kB / 274 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.01281, allocations: 4 kB / 274 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.01295, allocations: 27.98 kB / 274 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01295, allocations: 0 / 274 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01296, allocations: 4 kB / 274 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.01297, allocations: 4 kB / 274 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.01297, allocations: 8 kB / 274 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.01337, allocations: 264.7 kB / 274.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.01339, allocations: 7.984 kB / 274.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.01342, allocations: 4 kB / 274.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.01351, allocations: 4 kB / 274.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.01355, allocations: 11.92 kB / 274.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.01356, allocations: 0 / 274.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.245e-05/0.01364, allocations: 103.2 kB / 274.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01364, allocations: 0 / 274.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.01392, allocations: 28.06 kB / 274.5 MB, free: 15.21 MB / 266.7 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.0001241/0.01405, allocations: 107.2 kB / 274.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.01428, allocations: 83.84 kB / 274.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01428, allocations: 4 kB / 274.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.01438, allocations: 35.92 kB / 274.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.01469, allocations: 17.52 kB / 274.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.01544, allocations: 354.6 kB / 275.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.01556, allocations: 97.61 kB / 275.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.026e-05/0.01562, allocations: 16.97 kB / 275.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.01566, allocations: 12.5 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01566, allocations: 0 / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Templates: time 0.003769/0.01943, allocations: 0.8541 MB / 276 MB, free: 13.59 MB / 266.7 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.149876644951291]