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.001235/0.001235, allocations: 99.62 kB / 21.95 MB, free: 5.219 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.001373/0.001373, allocations: 214 kB / 25.26 MB, free: 3.129 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.286/1.286, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 179] 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.001681/0.001681, allocations: 57.64 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2357, allocations: 49.15 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00274/0.2384, allocations: 1.9 MB / 399 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.2392, allocations: 0.5147 MB / 399.5 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.2393, allocations: 6.406 kB / 399.5 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.2394, allocations: 28.95 kB / 399.6 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.2395, allocations: 31.77 kB / 399.6 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.2397, allocations: 46.23 kB / 399.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.2399, allocations: 146.1 kB / 399.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.24, allocations: 58.16 kB / 399.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2401, allocations: 61.66 kB / 399.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2402, allocations: 68.94 kB / 400 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.2403, allocations: 14.44 kB / 400 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.2403, allocations: 14.38 kB / 400 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.2403, allocations: 38.2 kB / 400 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.847e-05/0.2404, allocations: 61.92 kB / 400.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.2406, allocations: 175 kB / 400.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2406, allocations: 0 / 400.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2406, allocations: 0 / 400.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2406, allocations: 1.906 kB / 400.3 MB, free: 6.871 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.0005133/0.2411, allocations: 360.7 kB / 400.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2412, allocations: 14.16 kB / 400.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.714e-05/0.2412, allocations: 9.281 kB / 400.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.2412, allocations: 46.36 kB / 400.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.2413, allocations: 17.39 kB / 400.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.2414, allocations: 148 kB / 400.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2415, allocations: 15.34 kB / 400.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.2415, allocations: 19.41 kB / 400.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2417, allocations: 147.3 kB / 401 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2418, allocations: 0 / 401 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.2418, allocations: 6.656 kB / 401 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2418, allocations: 2.688 kB / 401 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.242, allocations: 96.64 kB / 401.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.2426, allocations: 440.3 kB / 401.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.2427, allocations: 70.88 kB / 401.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.2428, allocations: 30.19 kB / 401.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2428, allocations: 1.406 kB / 401.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.2428, allocations: 39.94 kB / 401.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2428, allocations: 5.594 kB / 401.7 MB, free: 5.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007622/0.2436, allocations: 468.5 kB / 402.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.2436, allocations: 52.31 kB / 402.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.2437, allocations: 127 kB / 402.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.2437, allocations: 29.7 kB / 402.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.2437, allocations: 139.1 kB / 402.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2437, allocations: 48.27 kB / 402.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.2438, allocations: 39.16 kB / 402.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.2438, allocations: 320.9 kB / 402.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.2439, allocations: 31.28 kB / 402.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.536e-05/0.244, allocations: 86.45 kB / 403 MB, free: 4.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2442, allocations: 138.7 kB / 403.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2442, allocations: 0 / 403.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002382/0.2444, allocations: 155.9 kB / 403.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2444, allocations: 5.719 kB / 403.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2444, allocations: 2.984 kB / 403.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2444, allocations: 6.125 kB / 403.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.2446, allocations: 37.83 kB / 403.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2446, allocations: 7.203 kB / 403.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.2447, allocations: 10.16 kB / 403.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2447, allocations: 5.656 kB / 403.4 MB, free: 4.41 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.898e-05/0.2448, allocations: 125.8 kB / 403.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.2448, allocations: 7.484 kB / 403.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.2448, allocations: 16.06 kB / 403.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2448, allocations: 6.469 kB / 403.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2448, allocations: 0 / 403.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2448, allocations: 4.641 kB / 403.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.2453, allocations: 407.9 kB / 403.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2453, allocations: 2.141 kB / 403.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.2454, allocations: 27.83 kB / 404 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2454, allocations: 1.031 kB / 404 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2454, allocations: 1.938 kB / 404 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2454, allocations: 0.9688 kB / 404 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2454, allocations: 1.188 kB / 404 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.2457, allocations: 249.4 kB / 404.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.2457, allocations: 12.64 kB / 404.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2457, allocations: 5 kB / 404.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.2458, allocations: 5.266 kB / 404.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.2458, allocations: 7.406 kB / 404.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2458, allocations: 6.062 kB / 404.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.088e-05/0.2459, allocations: 104.5 kB / 404.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2459, allocations: 0 / 404.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.2461, allocations: 27.38 kB / 404.4 MB, free: 3.617 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.0003908/0.2465, allocations: 0.7824 MB / 405.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.2467, allocations: 86.12 kB / 405.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2467, allocations: 1.188 kB / 405.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.2468, allocations: 37.19 kB / 405.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.2471, allocations: 15.28 kB / 405.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.2485, allocations: 1.883 MB / 407.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.176e-05/0.2486, allocations: 101.3 kB / 407.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.738e-05/0.2486, allocations: 8.156 kB / 407.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.2487, allocations: 39.2 kB / 407.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2487, allocations: 1.312 kB / 407.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.2723, allocations: 2.603 MB / 409.9 MB, free: 368 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.73, allocations: 3.781 kB / 409.9 MB, free: 368 kB / 318.1 MB " [Timeout remaining time 649] (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: 12.891445451998152]