Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001603/0.001603, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001974/0.001974, allocations: 220.5 kB / 24.53 MB, free: 4.008 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.45/1.45, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.89 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3738, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003931/0.3778, allocations: 1.888 MB / 433.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3793, allocations: 0.7168 MB / 434.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.3794, allocations: 7.938 kB / 434.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.3796, allocations: 23.73 kB / 434.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3797, allocations: 27.78 kB / 434.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.3802, allocations: 115.6 kB / 434.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.3804, allocations: 143.6 kB / 434.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.3806, allocations: 49.89 kB / 434.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.3808, allocations: 59.72 kB / 435 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3809, allocations: 55.64 kB / 435.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3809, allocations: 12 kB / 435.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.284e-05/0.381, allocations: 20 kB / 435.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.381, allocations: 31.86 kB / 435.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.791e-05/0.3811, allocations: 67.53 kB / 435.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3814, allocations: 135.8 kB / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3814, allocations: 0 / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3814, allocations: 0 / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3814, allocations: 4 kB / 435.3 MB, free: 3.336 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.0007746/0.3822, allocations: 389.6 kB / 435.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/0.3822, allocations: 12.03 kB / 435.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.799e-05/0.3823, allocations: 384 / 435.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.3823, allocations: 46.69 kB / 435.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.3825, allocations: 28.83 kB / 435.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.383, allocations: 193.8 kB / 436 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.383, allocations: 8 kB / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.383, allocations: 8 kB / 436 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007204/0.3837, allocations: 278 kB / 436.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3837, allocations: 4 kB / 436.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.3838, allocations: 4 kB / 436.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.3838, allocations: 7.938 kB / 436.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.384, allocations: 67.89 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.3846, allocations: 398.5 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.3851, allocations: 212.9 kB / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.3853, allocations: 104.4 kB / 437 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.3853, allocations: 7.938 kB / 437 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.3854, allocations: 38.5 kB / 437.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3854, allocations: 4 kB / 437.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006238/0.386, allocations: 217.3 kB / 437.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.3862, allocations: 187.9 kB / 437.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.3864, allocations: 187.6 kB / 437.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.3864, allocations: 29.7 kB / 437.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3865, allocations: 104.1 kB / 437.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.3866, allocations: 11.98 kB / 437.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.3866, allocations: 33.67 kB / 437.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3868, allocations: 330.8 kB / 438.2 MB, free: 192 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.18e-05/0.3869, allocations: 23.98 kB / 438.2 MB, free: 168 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.3871, allocations: 134.4 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.3873, allocations: 161.6 kB / 438.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3873, allocations: 4 kB / 438.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002969/0.3876, allocations: 169.1 kB / 438.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3876, allocations: 11.98 kB / 438.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3876, allocations: 4.5 kB / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3877, allocations: 8 kB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3878, allocations: 39.92 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.3878, allocations: 4.375 kB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.149e-05/0.3879, allocations: 7.938 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3879, allocations: 8 kB / 438.7 MB, free: 15.52 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.0001489/0.3881, allocations: 137.8 kB / 438.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.3884, allocations: 157.5 kB / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.3884, allocations: 25.39 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3884, allocations: 4 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3884, allocations: 0 / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3884, allocations: 4 kB / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.3887, allocations: 192.5 kB / 439.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.3887, allocations: 7.938 kB / 439.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.3889, allocations: 31.98 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3889, allocations: 0 / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.3889, allocations: 11.98 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3889, allocations: 32 / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3889, allocations: 8 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.3894, allocations: 355.8 kB / 439.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.3895, allocations: 39.81 kB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3895, allocations: 0 / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3897, allocations: 15.98 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.3897, allocations: 4 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3897, allocations: 4 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.3898, allocations: 132.4 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3898, allocations: 0 / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.3902, allocations: 20 kB / 439.9 MB, free: 14.3 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.0008628/0.391, allocations: 0.9014 MB / 440.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.3913, allocations: 111.8 kB / 440.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3913, allocations: 1 kB / 440.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.3914, allocations: 8 kB / 440.9 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.0007218/0.3921, allocations: 116.3 kB / 441 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.3951, allocations: 2.07 MB / 443.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.3956, allocations: 0.7242 MB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.3957, allocations: 13.48 kB / 443.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.3958, allocations: 39.42 kB / 443.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3958, allocations: 4 kB / 443.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.4279, allocations: 3.646 MB / 447.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.51, allocations: 12.75 kB / 447.5 MB, free: 6.547 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.03907908097608]