Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001729/0.001729, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 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.002083/0.002083, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 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 1.494/1.494, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2962, allocations: 53.4 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003613/0.2998, allocations: 1.838 MB / 433 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3013, allocations: 0.6546 MB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3014, allocations: 11.88 kB / 433.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.3016, allocations: 15.8 kB / 433.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.3017, allocations: 27.78 kB / 433.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.3022, allocations: 114.8 kB / 433.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.3024, allocations: 143.5 kB / 433.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3025, allocations: 45.89 kB / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.3027, allocations: 67.7 kB / 434.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.3028, allocations: 43.72 kB / 434.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.3028, allocations: 12 kB / 434.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.3029, allocations: 16 kB / 434.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.3029, allocations: 43.77 kB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.303, allocations: 43.73 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3033, allocations: 153 kB / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3033, allocations: 0 / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3033, allocations: 0 / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3033, allocations: 0 / 434.4 MB, free: 3.242 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.0006614/0.3039, allocations: 385.6 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.304, allocations: 15.92 kB / 434.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.304, allocations: 46.67 kB / 434.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.3042, allocations: 24.84 kB / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.3046, allocations: 190.3 kB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.3046, allocations: 15.92 kB / 435 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3046, allocations: 8 kB / 435 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.3052, allocations: 315.7 kB / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3052, allocations: 0 / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3053, allocations: 8 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3053, allocations: 0 / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.3055, allocations: 71.89 kB / 435.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.306, allocations: 386.5 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.3065, allocations: 209 kB / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.3067, allocations: 104.3 kB / 436.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3067, allocations: 4 kB / 436.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3067, allocations: 42.5 kB / 436.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.3067, allocations: 0 / 436.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005979/0.3073, allocations: 225.2 kB / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.3075, allocations: 196.3 kB / 436.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3077, allocations: 187.1 kB / 436.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3077, allocations: 33.7 kB / 436.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.3078, allocations: 100.5 kB / 436.9 MB, free: 448 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3078, allocations: 15.94 kB / 436.9 MB, free: 432 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.3079, allocations: 41.66 kB / 436.9 MB, free: 384 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.308, allocations: 322.8 kB / 437.2 MB, free: 52 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.3081, allocations: 23.98 kB / 437.3 MB, free: 28 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.3083, allocations: 165.1 kB / 437.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.3085, allocations: 182.4 kB / 437.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3086, allocations: 0 / 437.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003038/0.3089, allocations: 173.4 kB / 437.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3089, allocations: 11.98 kB / 437.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3089, allocations: 4 kB / 437.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3089, allocations: 4 kB / 437.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.309, allocations: 47.8 kB / 437.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3091, allocations: 7.938 kB / 437.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3092, allocations: 15.89 kB / 437.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3092, allocations: 16.3 kB / 437.9 MB, free: 15.29 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.0001278/0.3093, allocations: 133.8 kB / 438 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.3096, allocations: 141.7 kB / 438.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.3097, allocations: 29.42 kB / 438.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3097, allocations: 0 / 438.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3097, allocations: 7.938 kB / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3097, allocations: 0 / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.31, allocations: 176.6 kB / 438.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.31, allocations: 4 kB / 438.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3101, allocations: 47.94 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3101, allocations: 0 / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3101, allocations: 4 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3101, allocations: 0 / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.3101, allocations: 7.938 kB / 438.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.3106, allocations: 361 kB / 438.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.3107, allocations: 43.77 kB / 438.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.3107, allocations: 8 kB / 438.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3109, allocations: 11.98 kB / 438.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3109, allocations: 11.92 kB / 438.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3109, allocations: 8 kB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.311, allocations: 132.4 kB / 439 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.311, allocations: 0 / 439 MB, free: 14.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.3114, allocations: 20 kB / 439 MB, free: 14.08 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.0009352/0.3123, allocations: 0.9585 MB / 440 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.3126, allocations: 111.8 kB / 440.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.3126, allocations: 0 / 440.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.3126, allocations: 17.06 kB / 440.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.3133, allocations: 119.6 kB / 440.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.3158, allocations: 2.07 MB / 442.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.316, allocations: 119.4 kB / 442.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.988e-05/0.316, allocations: 13.48 kB / 442.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.3161, allocations: 43.42 kB / 442.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3161, allocations: 0 / 442.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/0.3564, allocations: 4.212 MB / 446.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.32, allocations: 4.062 kB / 446.7 MB, free: 6.305 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.824254610110074]