Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001242/0.001242, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002162/0.002162, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2509, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002878/0.2538, allocations: 1.627 MB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2548, allocations: 0.5454 MB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.2549, allocations: 3.938 kB / 433.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.194e-05/0.255, allocations: 15.86 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.2551, allocations: 7.875 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.2554, allocations: 67.8 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2555, allocations: 59.72 kB / 433.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.2556, allocations: 16.23 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2557, allocations: 35.83 kB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.2558, allocations: 31.8 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2558, allocations: 4 kB / 433.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.992e-05/0.2559, allocations: 8 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.2559, allocations: 11.94 kB / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.2559, allocations: 27.8 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2561, allocations: 69.36 kB / 433.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2561, allocations: 0 / 433.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2561, allocations: 0 / 433.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.2561, allocations: 0 / 433.6 MB, free: 4.078 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004927/0.2566, allocations: 325.8 kB / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2566, allocations: 8.031 kB / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.2567, allocations: 42.75 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.2568, allocations: 20.83 kB / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.2571, allocations: 155.9 kB / 434.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.2571, allocations: 384 / 434.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2571, allocations: 4.375 kB / 434.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.2574, allocations: 146.8 kB / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2574, allocations: 3.938 kB / 434.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2574, allocations: 0 / 434.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2574, allocations: 7.938 kB / 434.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.655e-05/0.2575, allocations: 19.98 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.2579, allocations: 262.4 kB / 434.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.258, allocations: 90.42 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.2581, allocations: 43.48 kB / 434.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2581, allocations: 11.98 kB / 434.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2581, allocations: 38.5 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2581, allocations: 0 / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002792/0.2584, allocations: 105.4 kB / 434.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.2585, allocations: 137 kB / 435 MB, free: 2.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2586, allocations: 153.9 kB / 435.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2587, allocations: 29.7 kB / 435.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.2587, allocations: 92.12 kB / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2587, allocations: 7.953 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.2588, allocations: 21.7 kB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.2589, allocations: 322.8 kB / 435.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.259, allocations: 7.984 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.259, allocations: 57.08 kB / 435.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.2591, allocations: 69.08 kB / 435.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2591, allocations: 0 / 435.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001529/0.2593, allocations: 81.5 kB / 435.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2593, allocations: 8.188 kB / 435.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2593, allocations: 4 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2593, allocations: 4 kB / 435.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.2594, allocations: 11.98 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2594, allocations: 7.938 kB / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.2595, allocations: 11.94 kB / 435.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.2595, allocations: 0 / 435.9 MB, free: 1.508 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 9.506e-05/0.2596, allocations: 125.8 kB / 436 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2597, allocations: 69.53 kB / 436.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.2597, allocations: 20.02 kB / 436.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2597, allocations: 4 kB / 436.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2597, allocations: 0 / 436.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2597, allocations: 0 / 436.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.2599, allocations: 148.7 kB / 436.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2599, allocations: 0 / 436.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.26, allocations: 15.98 kB / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.26, allocations: 0 / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.26, allocations: 0 / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.26, allocations: 4 kB / 436.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.26, allocations: 3.938 kB / 436.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.2602, allocations: 198 kB / 436.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.2602, allocations: 27.88 kB / 436.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.2603, allocations: 4 kB / 436.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.2603, allocations: 7.922 kB / 436.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.2604, allocations: 8 kB / 436.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-06/0.2604, allocations: 192 / 436.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.789e-05/0.2604, allocations: 115.2 kB / 436.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2605, allocations: 0 / 436.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.2607, allocations: 8 kB / 436.6 MB, free: 0.6758 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (6): * Single equations (assignments): 6 * 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.0005043/0.2612, allocations: 0.7422 MB / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.2613, allocations: 47.84 kB / 437.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2613, allocations: 0 / 437.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.406e-05/0.2614, allocations: 4 kB / 437.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.2617, allocations: 47.2 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.2632, allocations: 1.505 MB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.2633, allocations: 83.31 kB / 439 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.2634, allocations: 8.672 kB / 439 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.2634, allocations: 23.42 kB / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2634, allocations: 0 / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.2937, allocations: 2.661 MB / 441.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.86, allocations: 15.86 kB / 441.7 MB, free: 11.52 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.174517928157002]