Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001056/0.001056, allocations: 108.6 kB / 17.93 MB, free: 5.535 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.0009994/0.0009995, allocations: 189.8 kB / 18.86 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 48.14 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1155, allocations: 46.62 MB / 327.4 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003762/0.1193, allocations: 2.037 MB / 329.5 MB, free: 2.742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.1203, allocations: 0.5308 MB / 330 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1205, allocations: 0 / 330 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.1206, allocations: 19.86 kB / 330 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.886e-05/0.1207, allocations: 27.77 kB / 330 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1209, allocations: 39.97 kB / 330.1 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1211, allocations: 147.4 kB / 330.2 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.1213, allocations: 69.5 kB / 330.3 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1215, allocations: 55.8 kB / 330.3 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1216, allocations: 75.67 kB / 330.4 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.1216, allocations: 12 kB / 330.4 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.118e-05/0.1217, allocations: 16 kB / 330.4 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.1217, allocations: 35.86 kB / 330.5 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.1218, allocations: 71.67 kB / 330.5 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.122, allocations: 127.9 kB / 330.7 MB, free: 1.52 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.122, allocations: 0 / 330.7 MB, free: 1.52 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.122, allocations: 0 / 330.7 MB, free: 1.52 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.122, allocations: 3.938 kB / 330.7 MB, free: 1.516 MB / 270.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.0006637/0.1227, allocations: 435.1 kB / 331.1 MB, free: 1.043 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1228, allocations: 12.03 kB / 331.1 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.1228, allocations: 20.75 kB / 331.1 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1231, allocations: 200.1 kB / 331.3 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1231, allocations: 12.38 kB / 331.3 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1231, allocations: 20.36 kB / 331.4 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1234, allocations: 149.4 kB / 331.5 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1235, allocations: 4 kB / 331.5 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1235, allocations: 4 kB / 331.5 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1235, allocations: 4 kB / 331.5 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.1237, allocations: 91.88 kB / 331.6 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.1245, allocations: 0.5366 MB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1247, allocations: 78.55 kB / 332.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.1248, allocations: 28.86 kB / 332.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.1248, allocations: 0 / 332.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1249, allocations: 38.67 kB / 332.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.1249, allocations: 0 / 332.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009931/0.1259, allocations: 0.5912 MB / 332.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.1259, allocations: 59.72 kB / 332.9 MB, free: 14.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1261, allocations: 125.8 kB / 333.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1261, allocations: 29.7 kB / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1263, allocations: 132 kB / 333.2 MB, free: 14.67 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.1263, allocations: 47.33 kB / 333.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.1264, allocations: 45.55 kB / 333.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1266, allocations: 314.8 kB / 333.6 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.564e-05/0.1267, allocations: 35.97 kB / 333.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1269, allocations: 86.8 kB / 333.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1271, allocations: 130.7 kB / 333.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1271, allocations: 0 / 333.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002778/0.1274, allocations: 153.4 kB / 334 MB, free: 13.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.1274, allocations: 8 kB / 334 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1274, allocations: 0 / 334 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1275, allocations: 8.031 kB / 334 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1276, allocations: 39.91 kB / 334.1 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1277, allocations: 12.12 kB / 334.1 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.1277, allocations: 8 kB / 334.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1277, allocations: 4 kB / 334.1 MB, free: 13.73 MB / 286.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.0001386/0.1279, allocations: 125.8 kB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.1279, allocations: 7.906 kB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.128, allocations: 16.36 kB / 334.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.128, allocations: 4 kB / 334.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.128, allocations: 3.938 kB / 334.2 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.128, allocations: 0 / 334.2 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.1286, allocations: 451.9 kB / 334.7 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1286, allocations: 0 / 334.7 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1287, allocations: 23.98 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1288, allocations: 4 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1288, allocations: 0 / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1288, allocations: 4.062 kB / 334.7 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1288, allocations: 4 kB / 334.7 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.1291, allocations: 257 kB / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.1292, allocations: 81.02 kB / 335.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1292, allocations: 4 kB / 335.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.1293, allocations: 4.062 kB / 335.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.1294, allocations: 11.98 kB / 335.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1294, allocations: 8 kB / 335.1 MB, free: 12.63 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.1295, allocations: 95.27 kB / 335.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1295, allocations: 0 / 335.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1297, allocations: 28 kB / 335.2 MB, free: 12.51 MB / 286.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.000122/0.1299, allocations: 99.19 kB / 335.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1301, allocations: 99.83 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1301, allocations: 0 / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.1302, allocations: 39.92 kB / 335.4 MB, free: 12.26 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.1306, allocations: 15.92 kB / 335.5 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.1314, allocations: 0.5056 MB / 336 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1318, allocations: 0.7119 MB / 336.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.1318, allocations: 15.44 kB / 336.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of SimCode: time 1.943e-06/0.1318, allocations: 0 / 336.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of Templates: time 0.003073/0.1349, allocations: 1.451 MB / 338.1 MB, free: 9.496 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches