Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001527/0.001527, 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.001697/0.001697, allocations: 214.1 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.86 kB / 378.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2346, allocations: 53.36 MB / 431.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003136/0.2377, allocations: 1.838 MB / 433.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2389, allocations: 0.6585 MB / 434.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.239, allocations: 11.88 kB / 434.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2392, allocations: 23.73 kB / 434.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.2393, allocations: 27.73 kB / 434.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.2396, allocations: 107.8 kB / 434.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.2398, allocations: 147.5 kB / 434.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.24, allocations: 59.61 kB / 434.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.2401, allocations: 59.72 kB / 434.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.2402, allocations: 55.7 kB / 434.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.2402, allocations: 12 kB / 434.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.2403, allocations: 16 kB / 434.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.2403, allocations: 31.86 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.2404, allocations: 43.73 kB / 434.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2406, allocations: 155.2 kB / 435.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2406, allocations: 0 / 435.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2406, allocations: 0 / 435.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.2406, allocations: 4 kB / 435.1 MB, free: 3.418 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005636/0.2412, allocations: 381.6 kB / 435.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2412, allocations: 8.031 kB / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.365e-05/0.2413, allocations: 4.375 kB / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.2413, allocations: 42.75 kB / 435.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.2415, allocations: 24.83 kB / 435.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.2418, allocations: 197.8 kB / 435.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2418, allocations: 4 kB / 435.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.2418, allocations: 12 kB / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.2424, allocations: 304.2 kB / 436.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2424, allocations: 4 kB / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2424, allocations: 4 kB / 436.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2424, allocations: 7.938 kB / 436.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.2426, allocations: 75.83 kB / 436.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.243, allocations: 374.6 kB / 436.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.2435, allocations: 209 kB / 436.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.2437, allocations: 112.2 kB / 436.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.2437, allocations: 11.94 kB / 436.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2437, allocations: 34.56 kB / 436.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.2437, allocations: 0 / 436.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005261/0.2442, allocations: 221.5 kB / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.2443, allocations: 191.9 kB / 437.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.2445, allocations: 183.2 kB / 437.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2445, allocations: 29.7 kB / 437.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.2446, allocations: 104.1 kB / 437.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2446, allocations: 15.94 kB / 437.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.2447, allocations: 33.7 kB / 437.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2448, allocations: 326.8 kB / 438 MB, free: 264 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.2449, allocations: 20.17 kB / 438 MB, free: 244 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.245, allocations: 162.8 kB / 438.1 MB, free: 24 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.2453, allocations: 165.5 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2453, allocations: 0 / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002641/0.2455, allocations: 169.2 kB / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2455, allocations: 4 kB / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2455, allocations: 4 kB / 438.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2456, allocations: 8 kB / 438.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2457, allocations: 35.92 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2457, allocations: 4 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.575e-05/0.2458, allocations: 16.39 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.2458, allocations: 23.92 kB / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001074/0.2459, allocations: 129.8 kB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.2462, allocations: 141.8 kB / 438.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.2462, allocations: 29.39 kB / 438.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.2462, allocations: 96 / 438.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2462, allocations: 11.88 kB / 438.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2462, allocations: 240 / 438.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2465, allocations: 176.6 kB / 439 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2465, allocations: 7.969 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2466, allocations: 35.97 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2466, allocations: 7.984 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2466, allocations: 7.938 kB / 439.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2467, allocations: 4 kB / 439.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2467, allocations: 0 / 439.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.247, allocations: 349.2 kB / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.2471, allocations: 31.83 kB / 439.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.2471, allocations: 15.94 kB / 439.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2473, allocations: 7.984 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.2473, allocations: 8 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2473, allocations: 4 kB / 439.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.2474, allocations: 136.4 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2474, allocations: 0 / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.2477, allocations: 20 kB / 439.7 MB, free: 14.36 MB / 350.1 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0006824/0.2484, allocations: 0.8975 MB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.2487, allocations: 110.6 kB / 440.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2487, allocations: 1 kB / 440.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.2487, allocations: 11.98 kB / 440.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.2493, allocations: 106.6 kB / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.2521, allocations: 2.158 MB / 442.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2522, allocations: 110.8 kB / 443 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.754e-05/0.2523, allocations: 17.48 kB / 443.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.2523, allocations: 43.42 kB / 443.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2523, allocations: 0 / 443.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.2755, allocations: 3.78 MB / 446.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.94, allocations: 7.938 kB / 446.9 MB, free: 7.055 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.35932744096499]