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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 109.9 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001024, allocations: 40.53 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09236, allocations: 49.43 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003101/0.09549, allocations: 1.974 MB / 353.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.09625, allocations: 0.5103 MB / 354 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.09634, allocations: 8 kB / 354 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.09646, allocations: 23.72 kB / 354 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.09655, allocations: 35.64 kB / 354 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.09674, allocations: 43.89 kB / 354.1 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.09692, allocations: 143.4 kB / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.09709, allocations: 77.36 kB / 354.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.09719, allocations: 59.8 kB / 354.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.09731, allocations: 71.69 kB / 354.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.09734, allocations: 12 kB / 354.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.329e-05/0.09737, allocations: 16 kB / 354.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.09741, allocations: 31.91 kB / 354.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.09749, allocations: 67.67 kB / 354.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.09767, allocations: 167.3 kB / 354.7 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.09769, allocations: 0 / 354.7 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0977, allocations: 7.938 kB / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.0977, allocations: 0 / 354.7 MB, free: 464 kB / 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.0005604/0.09827, allocations: 439.1 kB / 355.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.09832, allocations: 12.03 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.09838, allocations: 16.75 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.0986, allocations: 204 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.09862, allocations: 16.38 kB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.09867, allocations: 16.38 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.09893, allocations: 142.3 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.09895, allocations: 0 / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.09898, allocations: 11.98 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.09899, allocations: 8 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.09921, allocations: 87.7 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.09992, allocations: 0.5251 MB / 356.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1001, allocations: 86.47 kB / 356.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.289e-05/0.1002, allocations: 24.84 kB / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1002, allocations: 4 kB / 356.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1002, allocations: 38.56 kB / 356.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1002, allocations: 0 / 356.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008839/0.1011, allocations: 0.6022 MB / 356.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1011, allocations: 59.34 kB / 357 MB, free: 13.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.1012, allocations: 129.8 kB / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1013, allocations: 25.7 kB / 357.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.1013, allocations: 135.9 kB / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.1014, allocations: 43.45 kB / 357.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.1014, allocations: 25.72 kB / 357.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.1015, allocations: 322.8 kB / 357.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.1016, allocations: 35.94 kB / 357.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1017, allocations: 86.84 kB / 357.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.1019, allocations: 130.7 kB / 357.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1019, allocations: 4 kB / 357.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002438/0.1022, allocations: 150.4 kB / 358 MB, free: 12.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1022, allocations: 4 kB / 358.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1022, allocations: 4.188 kB / 358.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1022, allocations: 11.94 kB / 358.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1024, allocations: 31.98 kB / 358.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1024, allocations: 3.938 kB / 358.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.1025, allocations: 12.08 kB / 358.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1025, allocations: 11.94 kB / 358.1 MB, free: 12.68 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 8.675e-05/0.1026, allocations: 137.7 kB / 358.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1026, allocations: 7.906 kB / 358.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.1027, allocations: 8.375 kB / 358.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1027, allocations: 4 kB / 358.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1027, allocations: 7.938 kB / 358.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1027, allocations: 0 / 358.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.1032, allocations: 447.9 kB / 358.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1032, allocations: 0 / 358.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1034, allocations: 31.92 kB / 358.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1034, allocations: 4.062 kB / 358.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1034, allocations: 7.984 kB / 358.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1034, allocations: 0 / 358.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1034, allocations: 0 / 358.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.1037, allocations: 241.6 kB / 359 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.1038, allocations: 89.11 kB / 359.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.1038, allocations: 7.984 kB / 359.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.1039, allocations: 4 kB / 359.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.1039, allocations: 11.94 kB / 359.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.104, allocations: 7.984 kB / 359.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.699e-05/0.104, allocations: 99.27 kB / 359.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.104, allocations: 0 / 359.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1043, allocations: 27.94 kB / 359.2 MB, free: 11.44 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.0001124/0.1044, allocations: 99.78 kB / 359.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1047, allocations: 95.83 kB / 359.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1047, allocations: 0 / 359.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.1047, allocations: 39.92 kB / 359.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.105, allocations: 12.41 kB / 359.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.1058, allocations: 434 kB / 359.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.106, allocations: 0.7196 MB / 360.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.1061, allocations: 4.891 kB / 360.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1061, allocations: 19.42 kB / 360.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1061, allocations: 0 / 360.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of Templates: time 0.003047/0.1092, allocations: 0.852 MB / 361.5 MB, free: 9.113 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches