Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.465/1.465, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 65.17 kB / 307.9 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1088, allocations: 50.54 MB / 358.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003582/0.1124, allocations: 1.988 MB / 360.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1135, allocations: 0.5765 MB / 361 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.1136, allocations: 8 kB / 361 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1137, allocations: 19.8 kB / 361 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.1138, allocations: 35.64 kB / 361.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1141, allocations: 51.88 kB / 361.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1143, allocations: 147.4 kB / 361.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.1145, allocations: 77.5 kB / 361.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.1147, allocations: 67.77 kB / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.1149, allocations: 63.7 kB / 361.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.1149, allocations: 16 kB / 361.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.115, allocations: 16 kB / 361.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.115, allocations: 39.78 kB / 361.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.1151, allocations: 71.67 kB / 361.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1153, allocations: 171.7 kB / 361.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1154, allocations: 4 kB / 361.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1154, allocations: 4 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1154, allocations: 0 / 361.8 MB, free: 10.62 MB / 302.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.0006898/0.1161, allocations: 439 kB / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1161, allocations: 12.03 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.1163, allocations: 20.75 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1165, allocations: 216 kB / 362.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1166, allocations: 12.38 kB / 362.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1166, allocations: 16.38 kB / 362.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.1169, allocations: 146.1 kB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1169, allocations: 4 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.117, allocations: 8 kB / 362.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.117, allocations: 4 kB / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.1172, allocations: 91.88 kB / 362.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.118, allocations: 0.5287 MB / 363.2 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1182, allocations: 82.48 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.1183, allocations: 28.84 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1183, allocations: 4 kB / 363.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1183, allocations: 30.56 kB / 363.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1183, allocations: 0 / 363.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001049/0.1194, allocations: 0.5953 MB / 364 MB, free: 8.148 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1194, allocations: 59.34 kB / 364 MB, free: 8.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1196, allocations: 132.5 kB / 364.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1196, allocations: 29.98 kB / 364.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.1197, allocations: 128 kB / 364.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1197, allocations: 39.44 kB / 364.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.1198, allocations: 49.55 kB / 364.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.12, allocations: 318.8 kB / 364.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.12, allocations: 35.98 kB / 364.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1202, allocations: 86.78 kB / 364.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1204, allocations: 126.7 kB / 365 MB, free: 7.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1204, allocations: 0 / 365 MB, free: 7.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00028/0.1207, allocations: 161.3 kB / 365.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1207, allocations: 11.98 kB / 365.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1207, allocations: 48 / 365.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1207, allocations: 7.984 kB / 365.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1209, allocations: 31.98 kB / 365.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.1209, allocations: 11.88 kB / 365.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.121, allocations: 8 kB / 365.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.121, allocations: 8.188 kB / 365.2 MB, free: 6.82 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.0001111/0.1211, allocations: 129.8 kB / 365.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1212, allocations: 7.906 kB / 365.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.1212, allocations: 16.72 kB / 365.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1212, allocations: 0 / 365.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.1212, allocations: 3.938 kB / 365.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1212, allocations: 0 / 365.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.1218, allocations: 444 kB / 365.8 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1218, allocations: 4.094 kB / 365.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.122, allocations: 31.86 kB / 365.8 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.122, allocations: 0 / 365.8 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.122, allocations: 4 kB / 365.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.122, allocations: 4 kB / 365.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.122, allocations: 0 / 365.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.1224, allocations: 257 kB / 366.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.1224, allocations: 85.05 kB / 366.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1224, allocations: 0 / 366.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.1225, allocations: 11.98 kB / 366.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1226, allocations: 8.062 kB / 366.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1226, allocations: 4 kB / 366.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.996e-05/0.1227, allocations: 99.27 kB / 366.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 0 / 366.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.123, allocations: 27.98 kB / 366.3 MB, free: 5.594 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.000115/0.1231, allocations: 98.48 kB / 366.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.1233, allocations: 100.2 kB / 366.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1233, allocations: 0 / 366.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/0.1234, allocations: 43.91 kB / 366.5 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1238, allocations: 11.94 kB / 366.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/0.1246, allocations: 457.5 kB / 367 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.125, allocations: 0.7158 MB / 367.7 MB, free: 4.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.125, allocations: 11.44 kB / 367.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.125, allocations: 0 / 367.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of Templates: time 0.003442/0.1285, allocations: 1.479 MB / 369.2 MB, free: 2.617 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches