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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 118.3 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 205.7 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 207.6 MB / 232.5 MB, free: 11.52 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 53.02 kB / 343 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2376, allocations: 49.13 MB / 392.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00255/0.2402, allocations: 1.977 MB / 394.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006922/0.2409, allocations: 0.5525 MB / 394.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.241, allocations: 3.5 kB / 394.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.2411, allocations: 24.17 kB / 394.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.2411, allocations: 31.83 kB / 394.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.2413, allocations: 50.47 kB / 394.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.2415, allocations: 149.5 kB / 394.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2416, allocations: 58.05 kB / 394.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.2417, allocations: 65.28 kB / 395 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.2418, allocations: 65.67 kB / 395.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.2418, allocations: 13.59 kB / 395.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.2419, allocations: 14.91 kB / 395.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.2419, allocations: 37.34 kB / 395.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.2419, allocations: 71.55 kB / 395.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.2421, allocations: 167.2 kB / 395.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2421, allocations: 0 / 395.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2421, allocations: 5.062 kB / 395.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2422, allocations: 0 / 395.4 MB, free: 6.574 MB / 318.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.000486/0.2426, allocations: 434.8 kB / 395.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2427, allocations: 10.05 kB / 395.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.834e-05/0.2427, allocations: 8.188 kB / 395.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.2427, allocations: 47.61 kB / 395.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.2428, allocations: 24.81 kB / 395.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2429, allocations: 206.1 kB / 396.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.243, allocations: 11.06 kB / 396.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.243, allocations: 19.47 kB / 396.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.2433, allocations: 138.9 kB / 396.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.2433, allocations: 5.047 kB / 396.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2433, allocations: 5 kB / 396.3 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2433, allocations: 4.625 kB / 396.3 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.2435, allocations: 99.89 kB / 396.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.2441, allocations: 0.5233 MB / 396.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.2443, allocations: 77.27 kB / 397 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.2443, allocations: 27.66 kB / 397 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.2443, allocations: 5 kB / 397 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.109e-05/0.2443, allocations: 32.28 kB / 397 MB, free: 5.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2443, allocations: 1.094 kB / 397 MB, free: 5.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008126/0.2451, allocations: 0.6051 MB / 397.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.2452, allocations: 54.39 kB / 397.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.2452, allocations: 124.1 kB / 397.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2453, allocations: 29.7 kB / 397.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.2453, allocations: 138.8 kB / 398 MB, free: 4.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.2453, allocations: 41.62 kB / 398 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.2454, allocations: 38.02 kB / 398 MB, free: 4.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.2454, allocations: 320.1 kB / 398.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.2455, allocations: 35.44 kB / 398.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.2456, allocations: 94.31 kB / 398.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2457, allocations: 133.6 kB / 398.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2457, allocations: 3.938 kB / 398.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002317/0.246, allocations: 163.5 kB / 398.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.246, allocations: 5.875 kB / 398.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.246, allocations: 6.25 kB / 398.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.246, allocations: 8.016 kB / 398.8 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.2462, allocations: 32.42 kB / 398.8 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2462, allocations: 7.906 kB / 398.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.2462, allocations: 5.234 kB / 398.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2462, allocations: 9.781 kB / 398.9 MB, free: 3.68 MB / 318.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 6.315e-05/0.2463, allocations: 129.4 kB / 399 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.2463, allocations: 7.766 kB / 399 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.2464, allocations: 16.34 kB / 399 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2464, allocations: 5.094 kB / 399 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2464, allocations: 0.6094 kB / 399 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2464, allocations: 2.234 kB / 399 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.2468, allocations: 439.3 kB / 399.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2468, allocations: 5.219 kB / 399.4 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.2469, allocations: 27.69 kB / 399.5 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2469, allocations: 2.297 kB / 399.5 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.2469, allocations: 2.5 kB / 399.5 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2469, allocations: 0 / 399.5 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2469, allocations: 4.812 kB / 399.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.2472, allocations: 260 kB / 399.7 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.2472, allocations: 84.81 kB / 399.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.2472, allocations: 2.375 kB / 399.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.938e-05/0.2473, allocations: 3.641 kB / 399.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.2474, allocations: 11.16 kB / 399.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.2474, allocations: 2.75 kB / 399.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.2474, allocations: 96.72 kB / 399.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2474, allocations: 5.656 kB / 399.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.2476, allocations: 26.16 kB / 400 MB, free: 2.758 MB / 318.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.0003996/0.248, allocations: 0.7888 MB / 400.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.2482, allocations: 92.34 kB / 400.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2483, allocations: 0 / 400.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.188e-05/0.2483, allocations: 36.67 kB / 400.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.2486, allocations: 18.14 kB / 400.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2501, allocations: 1.858 MB / 402.8 MB, free: 376 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.2505, allocations: 0.7099 MB / 403.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.215e-05/0.2505, allocations: 13.72 kB / 403.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.2506, allocations: 41.39 kB / 403.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2506, allocations: 0 / 403.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.2709, allocations: 2.434 MB / 406 MB, free: 14.97 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.02, allocations: 19.06 kB / 406 MB, free: 14.95 MB / 334.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.270060950017069]