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.001656/0.001656, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001887/0.001887, allocations: 197 kB / 21.43 MB, free: 1.609 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.344/1.344, allocations: 225.6 MB / 249.8 MB, free: 3.609 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 59.91 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09879/0.1003, allocations: 52.13 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003399/0.1037, allocations: 2.009 MB / 420.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.1045, allocations: 0.4986 MB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.1046, allocations: 4 kB / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1047, allocations: 23.78 kB / 421 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.1048, allocations: 35.64 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.105, allocations: 39.94 kB / 421.1 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1052, allocations: 155.4 kB / 421.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1053, allocations: 50.12 kB / 421.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1055, allocations: 63.84 kB / 421.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1056, allocations: 71.64 kB / 421.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1056, allocations: 16 kB / 421.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.378e-05/0.1056, allocations: 12 kB / 421.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.1057, allocations: 43.83 kB / 421.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.1058, allocations: 67.67 kB / 421.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.106, allocations: 163.3 kB / 421.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.106, allocations: 0 / 421.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.106, allocations: 0 / 421.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.106, allocations: 0 / 421.7 MB, free: 9.375 MB / 350.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.0006448/0.1066, allocations: 450.8 kB / 422.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1067, allocations: 12.03 kB / 422.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.629e-05/0.1067, allocations: 4.188 kB / 422.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.1067, allocations: 46.73 kB / 422.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.1068, allocations: 16.84 kB / 422.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1071, allocations: 200.2 kB / 422.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1071, allocations: 12.38 kB / 422.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.1072, allocations: 20.33 kB / 422.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.1074, allocations: 157.6 kB / 422.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1075, allocations: 0 / 422.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1075, allocations: 4 kB / 422.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.1075, allocations: 4 kB / 422.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.1077, allocations: 91.94 kB / 422.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.1085, allocations: 0.5289 MB / 423.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1087, allocations: 74.55 kB / 423.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.1087, allocations: 33.02 kB / 423.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1088, allocations: 3.938 kB / 423.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1088, allocations: 30.56 kB / 423.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1088, allocations: 4 kB / 423.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001065/0.1099, allocations: 0.6026 MB / 424 MB, free: 6.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1099, allocations: 51.41 kB / 424 MB, free: 6.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.11, allocations: 135.8 kB / 424.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.11, allocations: 29.7 kB / 424.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.1101, allocations: 136.2 kB / 424.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.1102, allocations: 43.62 kB / 424.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.1102, allocations: 37.7 kB / 424.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1104, allocations: 326.8 kB / 424.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.775e-05/0.1105, allocations: 27.98 kB / 424.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1106, allocations: 92.69 kB / 424.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.1108, allocations: 126.7 kB / 425 MB, free: 5.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1108, allocations: 0 / 425 MB, free: 5.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002722/0.1111, allocations: 158.2 kB / 425.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1111, allocations: 8 kB / 425.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1111, allocations: 0 / 425.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1111, allocations: 7.938 kB / 425.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1113, allocations: 40.11 kB / 425.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1113, allocations: 4 kB / 425.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.1113, allocations: 8 kB / 425.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1114, allocations: 4.094 kB / 425.2 MB, free: 5.523 MB / 350.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.0001079/0.1115, allocations: 137.6 kB / 425.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1115, allocations: 7.953 kB / 425.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.1115, allocations: 16.38 kB / 425.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1115, allocations: 3.938 kB / 425.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1115, allocations: 4 kB / 425.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1115, allocations: 0 / 425.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.1121, allocations: 440 kB / 425.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1121, allocations: 4 kB / 425.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.1122, allocations: 27.98 kB / 425.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1123, allocations: 0 / 425.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1123, allocations: 0 / 425.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1123, allocations: 8.062 kB / 425.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1123, allocations: 0 / 425.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.1126, allocations: 257 kB / 426.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.1127, allocations: 85.09 kB / 426.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1127, allocations: 0 / 426.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.1128, allocations: 12.05 kB / 426.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1128, allocations: 8 kB / 426.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1128, allocations: 0 / 426.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.1129, allocations: 95.27 kB / 426.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1129, allocations: 0 / 426.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1131, allocations: 28 kB / 426.3 MB, free: 4.301 MB / 350.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.0006562/0.1138, allocations: 0.7954 MB / 427.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.114, allocations: 91.83 kB / 427.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.114, allocations: 448 / 427.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.1141, allocations: 40.2 kB / 427.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1144, allocations: 18.16 kB / 427.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1165, allocations: 1.86 MB / 429.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1169, allocations: 0.7158 MB / 429.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.117, allocations: 8.875 kB / 429.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.117, allocations: 39.42 kB / 429.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.117, allocations: 0 / 429.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1384, allocations: 2.453 MB / 432.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.168, allocations: 10.62 kB / 432.3 MB, free: 14.19 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.494651623012032]