Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009196/0.0009196, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009363/0.0009363, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8667/0.8667, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 324.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.181e-05, allocations: 2.281 kB / 324.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002341/0.002363, allocations: 1.623 MB / 326.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.003087, allocations: 0.5298 MB / 326.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/0.003179, allocations: 7.938 kB / 326.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.36e-05/0.003232, allocations: 7.922 kB / 326.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.003367, allocations: 23.73 kB / 326.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.003658, allocations: 67.62 kB / 326.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.882e-05/0.003757, allocations: 55.77 kB / 326.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.003843, allocations: 12 kB / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.003956, allocations: 43.89 kB / 326.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.004002, allocations: 15.92 kB / 326.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.004018, allocations: 4 kB / 326.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-05/0.004055, allocations: 15.98 kB / 326.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.004096, allocations: 11.94 kB / 326.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.004117, allocations: 15.97 kB / 327 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.004258, allocations: 67.67 kB / 327 MB, free: 13.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004261, allocations: 0 / 327 MB, free: 13.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004262, allocations: 4 kB / 327 MB, free: 13.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004266, allocations: 0 / 327 MB, free: 13.19 MB / 298.7 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.0004017/0.004667, allocations: 313.9 kB / 327.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.004707, allocations: 15.98 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.004737, allocations: 34.75 kB / 327.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.00484, allocations: 16.88 kB / 327.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.005029, allocations: 154 kB / 327.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.005039, allocations: 8.375 kB / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.005049, allocations: 4.312 kB / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.005309, allocations: 139 kB / 327.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.005316, allocations: 0 / 327.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.005324, allocations: 0 / 327.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005329, allocations: 0 / 327.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.397e-05/0.005393, allocations: 31.92 kB / 327.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.005658, allocations: 250.6 kB / 328 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.373e-05/0.005742, allocations: 94.36 kB / 328.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.005785, allocations: 43.48 kB / 328.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.005803, allocations: 0 / 328.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.005825, allocations: 38.56 kB / 328.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.005826, allocations: 0 / 328.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001973/0.006023, allocations: 101.5 kB / 328.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.006083, allocations: 141 kB / 328.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.006278, allocations: 153.4 kB / 328.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.006299, allocations: 25.7 kB / 328.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.006343, allocations: 96.08 kB / 328.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.868e-05/0.006362, allocations: 3.953 kB / 328.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.006399, allocations: 17.67 kB / 328.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.006488, allocations: 326.8 kB / 329 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.006546, allocations: 4 kB / 329 MB, free: 10.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.006575, allocations: 25.7 kB / 329 MB, free: 10.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.493e-05/0.00663, allocations: 33.77 kB / 329.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006633, allocations: 0 / 329.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.305e-05/0.006726, allocations: 57.62 kB / 329.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.006758, allocations: 7.984 kB / 329.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.006765, allocations: 4 kB / 329.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.006779, allocations: 0 / 329.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.00684, allocations: 4 kB / 329.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.006847, allocations: 3.984 kB / 329.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.006872, allocations: 15.95 kB / 329.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.006879, allocations: 0 / 329.1 MB, free: 10.78 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.629e-05/0.006955, allocations: 125.7 kB / 329.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.007029, allocations: 61.64 kB / 329.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.007067, allocations: 15.92 kB / 329.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.00707, allocations: 0 / 329.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.007075, allocations: 0 / 329.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.00708, allocations: 4 kB / 329.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.007226, allocations: 144.7 kB / 329.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007228, allocations: 64 / 329.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.007283, allocations: 23.92 kB / 329.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.007286, allocations: 0 / 329.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.007294, allocations: 4 kB / 329.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.007295, allocations: 0 / 329.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.007297, allocations: 0 / 329.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.007476, allocations: 201.9 kB / 329.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.007522, allocations: 15.88 kB / 329.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.007536, allocations: 4 kB / 329.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.007616, allocations: 7.984 kB / 329.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.007648, allocations: 8 kB / 329.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.007653, allocations: 7.984 kB / 329.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.007e-05/0.007713, allocations: 115.2 kB / 329.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007713, allocations: 0 / 329.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.007867, allocations: 8 kB / 329.9 MB, free: 9.961 MB / 298.7 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.0004338/0.008301, allocations: 0.7188 MB / 330.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.008426, allocations: 40.16 kB / 330.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.008428, allocations: 0 / 330.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.008451, allocations: 11.94 kB / 330.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.008779, allocations: 46.45 kB / 330.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009683/0.009747, allocations: 1.384 MB / 332.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.457e-05/0.009812, allocations: 83.42 kB / 332.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.269e-05/0.009845, allocations: 4 kB / 332.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.009898, allocations: 20.48 kB / 332.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009899, allocations: 0 / 332.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.02478, allocations: 2.548 MB / 334.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.567/6.591, allocations: 11.86 kB / 334.7 MB, free: 5.031 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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: 8.242012297734618]