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.001272/0.001272, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001484/0.001484, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.347/1.347, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.00142/0.00142, allocations: 43.94 kB / 378.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2378, allocations: 53.37 MB / 431.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003194/0.241, allocations: 1.917 MB / 433.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.2419, allocations: 0.5415 MB / 434.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.242, allocations: 7.938 kB / 434.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.2421, allocations: 27.78 kB / 434.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.28e-05/0.2422, allocations: 35.64 kB / 434.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.2424, allocations: 55.92 kB / 434.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.2426, allocations: 147.4 kB / 434.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2428, allocations: 55.75 kB / 434.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.2429, allocations: 75.78 kB / 434.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.243, allocations: 67.69 kB / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.243, allocations: 16 kB / 434.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.2431, allocations: 16 kB / 434.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.2431, allocations: 31.91 kB / 434.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.2432, allocations: 59.73 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.2434, allocations: 179.2 kB / 435.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2434, allocations: 0 / 435.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2434, allocations: 0 / 435.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2434, allocations: 4 kB / 435.1 MB, free: 3.422 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.0005535/0.244, allocations: 365.7 kB / 435.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.244, allocations: 12.03 kB / 435.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.339e-05/0.244, allocations: 4.188 kB / 435.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.2441, allocations: 50.73 kB / 435.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.2442, allocations: 32.81 kB / 435.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.2444, allocations: 146.3 kB / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2444, allocations: 12.38 kB / 435.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.2445, allocations: 20.38 kB / 435.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.2448, allocations: 146.3 kB / 435.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2448, allocations: 3.953 kB / 435.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2448, allocations: 4 kB / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2448, allocations: 7.938 kB / 435.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.245, allocations: 95.94 kB / 436 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.2457, allocations: 443.3 kB / 436.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.2459, allocations: 74.53 kB / 436.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.2459, allocations: 32.84 kB / 436.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.2459, allocations: 0 / 436.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.246, allocations: 30.56 kB / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 8.31e-07/0.246, allocations: 0 / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009085/0.2469, allocations: 471 kB / 437 MB, free: 1.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2469, allocations: 55.39 kB / 437 MB, free: 1.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.247, allocations: 132.5 kB / 437.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2471, allocations: 29.7 kB / 437.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.2471, allocations: 132.2 kB / 437.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.2472, allocations: 43.58 kB / 437.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.2472, allocations: 37.7 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2474, allocations: 322.8 kB / 437.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.2475, allocations: 31.98 kB / 437.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.2476, allocations: 93.36 kB / 437.8 MB, free: 404 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.2478, allocations: 126.7 kB / 438 MB, free: 252 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2478, allocations: 0 / 438 MB, free: 252 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002678/0.248, allocations: 158.1 kB / 438.1 MB, free: 88 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2481, allocations: 8 kB / 438.1 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2481, allocations: 3.984 kB / 438.1 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2481, allocations: 7.938 kB / 438.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.2482, allocations: 31.98 kB / 438.2 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2482, allocations: 11.88 kB / 438.2 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.2483, allocations: 8.188 kB / 438.2 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.2483, allocations: 8.094 kB / 438.2 MB, free: 8 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.0001358/0.2485, allocations: 133.7 kB / 438.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.2485, allocations: 11.94 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.2485, allocations: 12.72 kB / 438.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2485, allocations: 3.938 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2485, allocations: 0 / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2485, allocations: 11.97 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.2491, allocations: 407.2 kB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2491, allocations: 7.938 kB / 438.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.2492, allocations: 23.98 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2492, allocations: 0 / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2492, allocations: 0 / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2492, allocations: 4 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2492, allocations: 3.984 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.2496, allocations: 249 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.2496, allocations: 15.94 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.2496, allocations: 4.094 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.2497, allocations: 7.984 kB / 439.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.2497, allocations: 11.98 kB / 439.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2498, allocations: 4 kB / 439.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.179e-05/0.2498, allocations: 95.27 kB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2498, allocations: 0 / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.2501, allocations: 28 kB / 439.2 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.0006295/0.2507, allocations: 0.7875 MB / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2509, allocations: 95.84 kB / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2509, allocations: 0 / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.251, allocations: 40.2 kB / 440.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.2513, allocations: 19.73 kB / 440.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.2534, allocations: 1.875 MB / 442 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.805e-05/0.2535, allocations: 97.61 kB / 442.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.294e-05/0.2536, allocations: 16.95 kB / 442.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.2537, allocations: 47.36 kB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2537, allocations: 0 / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.2783, allocations: 2.614 MB / 444.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.73, allocations: 14.98 kB / 444.8 MB, free: 9.27 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: 12.976202997029759]