Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001497/0.001497, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001953/0.001953, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.39/1.39, allocations: 230.6 MB / 258.3 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 47.92 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2486, allocations: 53.36 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003468/0.2521, allocations: 2.022 MB / 433.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2532, allocations: 0.5882 MB / 434.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.2533, allocations: 0 / 434.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.2534, allocations: 23.8 kB / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.2535, allocations: 39.62 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.2538, allocations: 55.88 kB / 434.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.254, allocations: 147.4 kB / 434.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.2542, allocations: 53.7 kB / 434.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.2544, allocations: 71.78 kB / 434.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.2545, allocations: 63.7 kB / 435 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2545, allocations: 16 kB / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.2546, allocations: 19.98 kB / 435 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.2546, allocations: 31.86 kB / 435 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.483e-05/0.2547, allocations: 75.61 kB / 435.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.2549, allocations: 171.7 kB / 435.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2549, allocations: 4 kB / 435.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2549, allocations: 0 / 435.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2549, allocations: 0 / 435.3 MB, free: 3.477 MB / 334.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.0006119/0.2556, allocations: 369.7 kB / 435.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2556, allocations: 8.031 kB / 435.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.465e-05/0.2556, allocations: 4.188 kB / 435.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.2557, allocations: 58.67 kB / 435.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.2558, allocations: 24.84 kB / 435.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.2561, allocations: 146.3 kB / 435.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.2561, allocations: 12.38 kB / 435.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.2561, allocations: 16.38 kB / 435.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.2564, allocations: 154.2 kB / 436.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2564, allocations: 3.953 kB / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.2564, allocations: 8 kB / 436.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2565, allocations: 4 kB / 436.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.2567, allocations: 95.88 kB / 436.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007648/0.2574, allocations: 471.3 kB / 436.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.2576, allocations: 70.55 kB / 436.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.2577, allocations: 36.84 kB / 436.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2577, allocations: 3.984 kB / 436.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2577, allocations: 34.69 kB / 436.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.2577, allocations: 0 / 436.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009641/0.2587, allocations: 470.5 kB / 437.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.2587, allocations: 51.41 kB / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2588, allocations: 127.7 kB / 437.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.2588, allocations: 29.7 kB / 437.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.2589, allocations: 136.1 kB / 437.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.259, allocations: 43.59 kB / 437.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.259, allocations: 33.7 kB / 437.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2592, allocations: 326.8 kB / 438 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.2592, allocations: 27.98 kB / 438 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2594, allocations: 90.91 kB / 438.1 MB, free: 432 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.2596, allocations: 134.7 kB / 438.2 MB, free: 272 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2596, allocations: 4 kB / 438.2 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002629/0.2598, allocations: 161.4 kB / 438.4 MB, free: 100 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2599, allocations: 4 kB / 438.4 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2599, allocations: 4 kB / 438.4 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.2599, allocations: 11.97 kB / 438.4 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.26, allocations: 35.92 kB / 438.4 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.26, allocations: 0 / 438.4 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.2601, allocations: 8 kB / 438.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2601, allocations: 8 kB / 438.4 MB, free: 28 kB / 334.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.0001194/0.2603, allocations: 137.9 kB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.2603, allocations: 11.95 kB / 438.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.2603, allocations: 8.719 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.2603, allocations: 7.938 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2603, allocations: 0 / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2603, allocations: 0 / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.2609, allocations: 419.1 kB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2609, allocations: 0 / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.261, allocations: 27.98 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.261, allocations: 0 / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.261, allocations: 8 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.261, allocations: 0 / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.261, allocations: 3.938 kB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.2614, allocations: 253.1 kB / 439.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.2614, allocations: 11.94 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.2614, allocations: 4 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.2615, allocations: 4 kB / 439.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.2615, allocations: 7.984 kB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.2615, allocations: 4.188 kB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.699e-05/0.2616, allocations: 105.1 kB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2616, allocations: 7.938 kB / 439.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.2619, allocations: 28 kB / 439.5 MB, free: 14.91 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.000625/0.2625, allocations: 0.7843 MB / 440.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.2627, allocations: 83.83 kB / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2627, allocations: 0 / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.2628, allocations: 39.92 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.2631, allocations: 11.98 kB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.2651, allocations: 1.894 MB / 442.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.2655, allocations: 0.708 MB / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.2655, allocations: 12.98 kB / 443 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.2656, allocations: 35.42 kB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2656, allocations: 0 / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.2885, allocations: 2.646 MB / 445.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.75, allocations: 4.312 kB / 445.7 MB, free: 8.648 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 13.094659527007025]