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.00126/0.00126, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001425/0.001425, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 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 1.388/1.388, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001465/0.001465, allocations: 51.91 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2485, allocations: 52.19 MB / 422.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003433/0.252, allocations: 1.891 MB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2531, allocations: 0.6313 MB / 425.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.2532, allocations: 11.88 kB / 425.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.2533, allocations: 19.78 kB / 425.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2534, allocations: 19.81 kB / 425.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.2538, allocations: 114.9 kB / 425.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.254, allocations: 135.6 kB / 425.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.2541, allocations: 49.89 kB / 425.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2542, allocations: 51.73 kB / 425.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.2543, allocations: 59.7 kB / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.2543, allocations: 8 kB / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/0.2544, allocations: 12 kB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.2544, allocations: 39.84 kB / 425.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.2545, allocations: 59.61 kB / 425.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.2547, allocations: 147.7 kB / 425.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2547, allocations: 0 / 425.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2547, allocations: 0 / 425.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.2547, allocations: 0 / 425.9 MB, free: 11.39 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.0006304/0.2554, allocations: 385.6 kB / 426.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2554, allocations: 8.031 kB / 426.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.2555, allocations: 42.73 kB / 426.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.2555, allocations: 20.8 kB / 426.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.2558, allocations: 180.1 kB / 426.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.2558, allocations: 15.92 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2559, allocations: 8 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.2565, allocations: 291.6 kB / 426.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2565, allocations: 3.938 kB / 426.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2565, allocations: 8 kB / 426.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2565, allocations: 0 / 426.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.2567, allocations: 71.83 kB / 426.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.2572, allocations: 402.5 kB / 427.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.2576, allocations: 209 kB / 427.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.2578, allocations: 104.3 kB / 427.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.2578, allocations: 12 kB / 427.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2579, allocations: 34.55 kB / 427.6 MB, free: 9.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.2579, allocations: 0 / 427.6 MB, free: 9.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005443/0.2584, allocations: 225.5 kB / 427.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.2585, allocations: 191.9 kB / 428 MB, free: 8.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.2587, allocations: 187.2 kB / 428.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.2587, allocations: 33.7 kB / 428.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.2588, allocations: 96.52 kB / 428.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.2588, allocations: 23.83 kB / 428.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.2589, allocations: 41.8 kB / 428.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.259, allocations: 322.8 kB / 428.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.2591, allocations: 23.98 kB / 428.7 MB, free: 8.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.2593, allocations: 146 kB / 428.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.2595, allocations: 170.4 kB / 429.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2595, allocations: 0 / 429.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000286/0.2598, allocations: 173.2 kB / 429.2 MB, free: 7.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.2598, allocations: 11.98 kB / 429.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2598, allocations: 4 kB / 429.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2598, allocations: 4 kB / 429.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.26, allocations: 40.45 kB / 429.3 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.26, allocations: 15.94 kB / 429.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.2601, allocations: 11.95 kB / 429.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.2601, allocations: 11.98 kB / 429.3 MB, free: 7.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (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.000137/0.2602, allocations: 137.7 kB / 429.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.2605, allocations: 145.4 kB / 429.6 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.2606, allocations: 21.39 kB / 429.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2606, allocations: 4 kB / 429.6 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2606, allocations: 7.969 kB / 429.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2606, allocations: 0 / 429.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.2609, allocations: 192.6 kB / 429.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2609, allocations: 7.938 kB / 429.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.261, allocations: 39.97 kB / 429.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.261, allocations: 0 / 429.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.261, allocations: 4 kB / 429.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.261, allocations: 3.984 kB / 429.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.261, allocations: 8.172 kB / 429.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.2615, allocations: 365.1 kB / 430.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.2615, allocations: 35.78 kB / 430.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.2616, allocations: 8 kB / 430.3 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2617, allocations: 15.98 kB / 430.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.2617, allocations: 3.938 kB / 430.3 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.2618, allocations: 11.98 kB / 430.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.2619, allocations: 133.2 kB / 430.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2619, allocations: 0 / 430.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.2622, allocations: 24 kB / 430.5 MB, free: 6.285 MB / 334.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: 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.0009239/0.2631, allocations: 0.9639 MB / 431.4 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.2634, allocations: 115.8 kB / 431.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2634, allocations: 0 / 431.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.2635, allocations: 17.05 kB / 431.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.2641, allocations: 105 kB / 431.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.2665, allocations: 2.076 MB / 433.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.2669, allocations: 0.728 MB / 434.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.2669, allocations: 13.48 kB / 434.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.267, allocations: 47.42 kB / 434.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.267, allocations: 0 / 434.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.2969, allocations: 3.689 MB / 438.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.92, allocations: 8 kB / 438.2 MB, free: 14.42 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/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: 13.275108488975093]