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.001259/0.001259, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 50.53 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003435/0.304, allocations: 1.858 MB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3055, allocations: 0.7051 MB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.3057, allocations: 4 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.3059, allocations: 23.73 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.3061, allocations: 19.8 kB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.3065, allocations: 111.7 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.3068, allocations: 143.6 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.307, allocations: 65.69 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.3071, allocations: 55.72 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3072, allocations: 55.66 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.3073, allocations: 8 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.3073, allocations: 20 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.3074, allocations: 35.89 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.3075, allocations: 63.55 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.3077, allocations: 143.4 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3078, allocations: 0 / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3078, allocations: 0 / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3078, allocations: 0 / 413.2 MB, free: 14.28 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.0006479/0.3084, allocations: 456 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3085, allocations: 8.031 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.3087, allocations: 36.64 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.3091, allocations: 248.9 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3091, allocations: 12.12 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3092, allocations: 4 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.3098, allocations: 286 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3098, allocations: 0 / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3098, allocations: 8 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.3098, allocations: 4 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.31, allocations: 71.89 kB / 414.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.3106, allocations: 427.3 kB / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.3111, allocations: 302.2 kB / 415.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.3113, allocations: 104.2 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.3113, allocations: 11.98 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3114, allocations: 42.5 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.3114, allocations: 0 / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005701/0.312, allocations: 213.2 kB / 415.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.3121, allocations: 200.2 kB / 415.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.3123, allocations: 178.3 kB / 415.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3123, allocations: 33.7 kB / 415.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.3124, allocations: 100.1 kB / 415.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.3124, allocations: 15.89 kB / 415.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.3125, allocations: 37.61 kB / 416 MB, free: 11.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3126, allocations: 322.8 kB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.3127, allocations: 27.98 kB / 416.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3129, allocations: 130.5 kB / 416.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.3131, allocations: 157.6 kB / 416.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3131, allocations: 0 / 416.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002701/0.3134, allocations: 165.5 kB / 416.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3134, allocations: 11.94 kB / 416.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3134, allocations: 0 / 416.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.3134, allocations: 8 kB / 416.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3136, allocations: 35.92 kB / 416.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.3136, allocations: 19.84 kB / 416.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.3137, allocations: 15.84 kB / 416.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3137, allocations: 8.375 kB / 416.9 MB, free: 10.21 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.0001299/0.3139, allocations: 145.8 kB / 417 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.3142, allocations: 141.3 kB / 417.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.3142, allocations: 25.41 kB / 417.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3142, allocations: 3.984 kB / 417.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3143, allocations: 4 kB / 417.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3143, allocations: 0 / 417.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.3146, allocations: 213.8 kB / 417.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3146, allocations: 0 / 417.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.3147, allocations: 39.94 kB / 417.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.3147, allocations: 11.94 kB / 417.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3148, allocations: 7.984 kB / 417.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3148, allocations: 8 kB / 417.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3148, allocations: 0 / 417.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.3152, allocations: 364.1 kB / 417.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3153, allocations: 108.8 kB / 417.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3154, allocations: 11.94 kB / 417.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3155, allocations: 11.98 kB / 417.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.3156, allocations: 4 kB / 417.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3156, allocations: 4 kB / 417.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.3157, allocations: 144.3 kB / 418.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3157, allocations: 0 / 418.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003313/0.3161, allocations: 20 kB / 418.1 MB, free: 8.852 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.0001512/0.3162, allocations: 103.2 kB / 418.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.3165, allocations: 116.7 kB / 418.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3166, allocations: 0 / 418.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.3166, allocations: 8 kB / 418.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.3173, allocations: 108.2 kB / 418.4 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.3183, allocations: 389.2 kB / 418.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3186, allocations: 0.7202 MB / 419.5 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.3187, allocations: 23.42 kB / 419.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3187, allocations: 0 / 419.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of Templates: time 0.004344/0.323, allocations: 1.792 MB / 421.3 MB, free: 5.535 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches