Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001433/0.001433, allocations: 115.6 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.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.001968/0.001968, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.645/1.645, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 43.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3309, allocations: 53.35 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003797/0.3347, allocations: 1.908 MB / 433 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3362, allocations: 0.7128 MB / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.3363, allocations: 11.94 kB / 433.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.3365, allocations: 19.73 kB / 433.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.3366, allocations: 23.8 kB / 433.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.337, allocations: 111.7 kB / 433.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.3373, allocations: 139.6 kB / 434.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.3375, allocations: 53.88 kB / 434.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3376, allocations: 63.72 kB / 434.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3377, allocations: 55.64 kB / 434.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.3378, allocations: 8 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.62e-05/0.3378, allocations: 20 kB / 434.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.3379, allocations: 31.92 kB / 434.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.338, allocations: 63.48 kB / 434.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.3382, allocations: 155.7 kB / 434.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3382, allocations: 0 / 434.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3382, allocations: 0 / 434.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3382, allocations: 0 / 434.5 MB, free: 3.48 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.000736/0.339, allocations: 381.6 kB / 434.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.339, allocations: 8.031 kB / 434.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.3391, allocations: 42.75 kB / 434.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3392, allocations: 24.83 kB / 434.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.3396, allocations: 198.2 kB / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3397, allocations: 11.94 kB / 435.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3397, allocations: 8 kB / 435.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.3403, allocations: 281 kB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3403, allocations: 4 kB / 435.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.3403, allocations: 8 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3403, allocations: 0 / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.3405, allocations: 79.86 kB / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.3411, allocations: 402.5 kB / 435.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.3415, allocations: 209 kB / 436.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.3417, allocations: 108.3 kB / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3418, allocations: 4 kB / 436.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3418, allocations: 38.5 kB / 436.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.3418, allocations: 0 / 436.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.00058/0.3424, allocations: 225.6 kB / 436.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.3425, allocations: 196 kB / 436.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3428, allocations: 183.1 kB / 436.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3428, allocations: 29.7 kB / 436.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.3429, allocations: 100.5 kB / 437 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.3429, allocations: 15.94 kB / 437 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.343, allocations: 41.66 kB / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3431, allocations: 330.8 kB / 437.4 MB, free: 320 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.3432, allocations: 27.92 kB / 437.4 MB, free: 292 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3434, allocations: 139.4 kB / 437.5 MB, free: 96 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.3437, allocations: 174.3 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3437, allocations: 4 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003397/0.3441, allocations: 181.3 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3441, allocations: 4 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3441, allocations: 4 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/0.3441, allocations: 8 kB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3443, allocations: 39.91 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.3443, allocations: 11.88 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3444, allocations: 20.36 kB / 438 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3444, allocations: 12 kB / 438 MB, free: 15.59 MB / 350.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.0001654/0.3446, allocations: 137.8 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004019/0.345, allocations: 137.5 kB / 438.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.3451, allocations: 21.39 kB / 438.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.3451, allocations: 4 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.3451, allocations: 3.938 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3451, allocations: 4 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.3455, allocations: 200.6 kB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3455, allocations: 0 / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.3456, allocations: 35.92 kB / 438.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3456, allocations: 4 kB / 438.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.3456, allocations: 7.984 kB / 438.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.3456, allocations: 7.938 kB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3456, allocations: 3.938 kB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.3462, allocations: 357.2 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3463, allocations: 35.83 kB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.3463, allocations: 4 kB / 438.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3465, allocations: 11.98 kB / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.3465, allocations: 12.17 kB / 438.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.3465, allocations: 7.938 kB / 438.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3467, allocations: 136.4 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3467, allocations: 0 / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.347, allocations: 23.95 kB / 439.1 MB, free: 14.37 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: 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.0009909/0.348, allocations: 0.963 MB / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003443/0.3483, allocations: 111.8 kB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.3483, allocations: 4 kB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.3484, allocations: 7.984 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.3491, allocations: 115.5 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.3517, allocations: 2.078 MB / 442.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.3521, allocations: 0.7319 MB / 443.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.72e-05/0.3522, allocations: 17.48 kB / 443.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.3523, allocations: 47.42 kB / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3523, allocations: 0 / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.385, allocations: 3.732 MB / 446.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.55, allocations: 12.06 kB / 446.9 MB, free: 6.457 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.326336505822837]