Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008108/0.0008108, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8895/0.8895, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.5e-05, allocations: 10.22 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002398/0.002423, allocations: 1.811 MB / 320.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.003276, allocations: 0.6038 MB / 320.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003391, allocations: 7.938 kB / 320.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.003522, allocations: 27.67 kB / 320.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.003638, allocations: 23.8 kB / 320.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.003926, allocations: 102.6 kB / 321 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.004092, allocations: 139.5 kB / 321.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.00422, allocations: 45.95 kB / 321.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.004324, allocations: 87.67 kB / 321.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.004389, allocations: 35.89 kB / 321.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.004415, allocations: 11.94 kB / 321.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.004429, allocations: 12 kB / 321.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.004481, allocations: 31.91 kB / 321.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.004515, allocations: 35.86 kB / 321.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.004827, allocations: 139.5 kB / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.004833, allocations: 0 / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.004835, allocations: 0 / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.00484, allocations: 3.938 kB / 321.6 MB, free: 3.219 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005282/0.005368, allocations: 381 kB / 321.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.005413, allocations: 8.922 kB / 321.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.005452, allocations: 46.73 kB / 322 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.005495, allocations: 24.8 kB / 322 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.005804, allocations: 175.3 kB / 322.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.005821, allocations: 8.562 kB / 322.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.005838, allocations: 24.06 kB / 322.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.006292, allocations: 307.8 kB / 322.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.0063, allocations: 0 / 322.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.006318, allocations: 8 kB / 322.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.006325, allocations: 0 / 322.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.006459, allocations: 75.89 kB / 322.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.006913, allocations: 386.5 kB / 323 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.007248, allocations: 201 kB / 323.2 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.00737, allocations: 112.3 kB / 323.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.007395, allocations: 4 kB / 323.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.007422, allocations: 46.44 kB / 323.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.007424, allocations: 0 / 323.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004003/0.007824, allocations: 213.6 kB / 323.5 MB, free: 1.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.007927, allocations: 192.3 kB / 323.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.008066, allocations: 183.2 kB / 323.9 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.008085, allocations: 33.7 kB / 323.9 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.008143, allocations: 104.5 kB / 324 MB, free: 456 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.008162, allocations: 7.953 kB / 324 MB, free: 448 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.008202, allocations: 29.64 kB / 324.1 MB, free: 412 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.008293, allocations: 322.8 kB / 324.4 MB, free: 80 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.008326, allocations: 8 kB / 324.4 MB, free: 72 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.008388, allocations: 65.11 kB / 324.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.028e-05/0.008458, allocations: 50.53 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.008461, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.008562, allocations: 77.56 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.008577, allocations: 4 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.008584, allocations: 4 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.008597, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.008661, allocations: 11.98 kB / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.008666, allocations: 4.094 kB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.008701, allocations: 7.953 kB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.008707, allocations: 0 / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.692e-05/0.008794, allocations: 129.8 kB / 324.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.008964, allocations: 137.5 kB / 324.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.009004, allocations: 29.45 kB / 324.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.009008, allocations: 4 kB / 324.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.009012, allocations: 3.938 kB / 324.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009016, allocations: 4.031 kB / 324.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.00922, allocations: 180.5 kB / 325.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.009223, allocations: 4 kB / 325.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-05/0.009303, allocations: 35.92 kB / 325.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.009306, allocations: 0 / 325.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.009317, allocations: 8 kB / 325.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.009321, allocations: 7.984 kB / 325.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.009323, allocations: 4 kB / 325.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.009591, allocations: 360 kB / 325.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.009652, allocations: 39.81 kB / 325.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.009673, allocations: 8 kB / 325.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.009757, allocations: 7.984 kB / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.009789, allocations: 4 kB / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.009797, allocations: 8 kB / 325.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.009886, allocations: 141.1 kB / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009886, allocations: 3.938 kB / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.01011, allocations: 15.94 kB / 325.7 MB, free: 14.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0007549/0.01086, allocations: 0.9567 MB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.01105, allocations: 67.89 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01105, allocations: 0 / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.01108, allocations: 20.23 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.01157, allocations: 107.9 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.01304, allocations: 1.734 MB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.01315, allocations: 115.5 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.01321, allocations: 13.12 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.01329, allocations: 40.48 kB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01329, allocations: 0 / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.03751, allocations: 4.142 MB / 332.9 MB, free: 7.406 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/6.914, allocations: 10.81 kB / 332.9 MB, free: 7.398 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.606479164212942]