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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001374, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.641/1.641, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.89 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3704, allocations: 50.53 MB / 409.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004336/0.3748, allocations: 1.868 MB / 411.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3764, allocations: 0.6973 MB / 411.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.3766, allocations: 4 kB / 411.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.3768, allocations: 27.73 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.377, allocations: 23.81 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.3775, allocations: 103.7 kB / 412 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.3778, allocations: 147.6 kB / 412.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.378, allocations: 61.7 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.3781, allocations: 59.72 kB / 412.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3783, allocations: 55.64 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.3783, allocations: 8 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.3784, allocations: 23.98 kB / 412.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.3785, allocations: 23.92 kB / 412.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.3785, allocations: 63.55 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.3788, allocations: 147.4 kB / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3788, allocations: 4 kB / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3788, allocations: 0 / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3788, allocations: 0 / 412.6 MB, free: 14.24 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.0007185/0.3795, allocations: 455.9 kB / 413 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3796, allocations: 8.031 kB / 413 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.3798, allocations: 28.66 kB / 413 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.3802, allocations: 256.9 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.3803, allocations: 16.06 kB / 413.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.3803, allocations: 8 kB / 413.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.3809, allocations: 279.6 kB / 413.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3809, allocations: 0 / 413.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3809, allocations: 0 / 413.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.381, allocations: 4 kB / 413.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.3812, allocations: 79.88 kB / 413.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.3817, allocations: 427.3 kB / 414.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.3822, allocations: 294.2 kB / 414.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.3824, allocations: 112.2 kB / 414.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.3825, allocations: 4 kB / 414.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.3825, allocations: 42.5 kB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.3825, allocations: 4 kB / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005471/0.3831, allocations: 213.2 kB / 414.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.3832, allocations: 195.9 kB / 414.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.3834, allocations: 174.7 kB / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3834, allocations: 37.7 kB / 415.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.3835, allocations: 104 kB / 415.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3835, allocations: 16.34 kB / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.3836, allocations: 37.62 kB / 415.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3837, allocations: 322.8 kB / 415.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.3838, allocations: 31.98 kB / 415.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.384, allocations: 129.1 kB / 415.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.3842, allocations: 161.6 kB / 415.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3842, allocations: 0 / 415.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002602/0.3845, allocations: 169.1 kB / 416.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3845, allocations: 11.94 kB / 416.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3845, allocations: 0.5 kB / 416.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3846, allocations: 12 kB / 416.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3847, allocations: 31.92 kB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.3847, allocations: 7.938 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.409e-05/0.3848, allocations: 19.78 kB / 416.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3848, allocations: 12 kB / 416.2 MB, free: 10.16 MB / 334.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.0001305/0.385, allocations: 137.7 kB / 416.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.3853, allocations: 141.3 kB / 416.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.3853, allocations: 29.42 kB / 416.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.3853, allocations: 0 / 416.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3854, allocations: 4 kB / 416.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3854, allocations: 0 / 416.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.3857, allocations: 217.5 kB / 416.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3857, allocations: 0 / 416.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.3858, allocations: 39.92 kB / 416.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.3859, allocations: 7.938 kB / 416.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3859, allocations: 4.219 kB / 416.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3859, allocations: 4 kB / 416.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3859, allocations: 4 kB / 416.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.3863, allocations: 357 kB / 417.1 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.3864, allocations: 116.8 kB / 417.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3865, allocations: 7.938 kB / 417.2 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3866, allocations: 11.98 kB / 417.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.3866, allocations: 4 kB / 417.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3867, allocations: 4 kB / 417.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.3868, allocations: 140.3 kB / 417.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3868, allocations: 0 / 417.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.3871, allocations: 20 kB / 417.4 MB, free: 8.824 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: 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.0001438/0.3873, allocations: 111.2 kB / 417.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.3875, allocations: 115.7 kB / 417.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3876, allocations: 1 kB / 417.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.3876, allocations: 11.98 kB / 417.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.3882, allocations: 108.1 kB / 417.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/0.3891, allocations: 359.5 kB / 418.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3894, allocations: 0.7241 MB / 418.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.624e-05/0.3895, allocations: 17.55 kB / 418.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.3895, allocations: 15.44 kB / 418.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3895, allocations: 0 / 418.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of Templates: time 0.004944/0.3945, allocations: 1.709 MB / 420.6 MB, free: 5.621 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches