Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 113.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 208.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 55.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4068, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004183/0.4111, allocations: 1.913 MB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.4136, allocations: 1.301 MB / 412.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.4138, allocations: 0 / 412.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004508/0.4143, allocations: 75.59 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.4148, allocations: 127.4 kB / 412.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.4158, allocations: 230.5 kB / 412.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.4162, allocations: 191.4 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.4164, allocations: 29.55 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.4166, allocations: 75.69 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.4168, allocations: 87.62 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.4168, allocations: 8 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.4171, allocations: 75.88 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.4172, allocations: 51.84 kB / 413.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.4174, allocations: 87.41 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.4179, allocations: 246.8 kB / 413.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4179, allocations: 8 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4179, allocations: 0 / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.4179, allocations: 0 / 413.7 MB, free: 13.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009894/0.4189, allocations: 0.5465 MB / 414.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.419, allocations: 11.97 kB / 414.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.364e-05/0.4191, allocations: 28.75 kB / 414.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.4196, allocations: 299.7 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.4196, allocations: 12.31 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.4196, allocations: 12.12 kB / 414.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.4201, allocations: 172.4 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4201, allocations: 0 / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4201, allocations: 0 / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.4201, allocations: 4 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.4203, allocations: 43.92 kB / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.421, allocations: 470.5 kB / 415.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.4213, allocations: 138.5 kB / 415.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4214, allocations: 59.42 kB / 415.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.4215, allocations: 12 kB / 415.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.4217, allocations: 97.05 kB / 415.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.4217, allocations: 0 / 415.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004715/0.4222, allocations: 169.7 kB / 415.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.4223, allocations: 191.9 kB / 415.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.4227, allocations: 335 kB / 416.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.4227, allocations: 33.7 kB / 416.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.4229, allocations: 140.2 kB / 416.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.4229, allocations: 15.91 kB / 416.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.423, allocations: 33.7 kB / 416.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4231, allocations: 338.8 kB / 416.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.4232, allocations: 27.98 kB / 416.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.4233, allocations: 95.7 kB / 416.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.4235, allocations: 97.08 kB / 417 MB, free: 9.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4235, allocations: 0 / 417 MB, free: 9.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002564/0.4238, allocations: 141.4 kB / 417.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4238, allocations: 4 kB / 417.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4238, allocations: 12.45 kB / 417.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.4239, allocations: 0 / 417.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.424, allocations: 27.86 kB / 417.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.424, allocations: 8 kB / 417.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-05/0.4241, allocations: 15.89 kB / 417.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4242, allocations: 4 kB / 417.3 MB, free: 9.164 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001764/0.4243, allocations: 165.6 kB / 417.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.4244, allocations: 73.55 kB / 417.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.4245, allocations: 29.73 kB / 417.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.4245, allocations: 4 kB / 417.5 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4245, allocations: 0 / 417.5 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4246, allocations: 7.875 kB / 417.5 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.4248, allocations: 245.6 kB / 417.8 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4248, allocations: 0 / 417.8 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.942e-05/0.4249, allocations: 19.92 kB / 417.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.4249, allocations: 4 kB / 417.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.425, allocations: 0 / 417.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.425, allocations: 4 kB / 417.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.425, allocations: 4.062 kB / 417.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.4253, allocations: 195.3 kB / 418 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.4255, allocations: 109 kB / 418.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.4255, allocations: 11.98 kB / 418.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.4256, allocations: 8 kB / 418.1 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.4257, allocations: 15.92 kB / 418.1 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4257, allocations: 4 kB / 418.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.426, allocations: 245.9 kB / 418.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.426, allocations: 0 / 418.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.4263, allocations: 39.92 kB / 418.4 MB, free: 7.895 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001226/0.4275, allocations: 424.6 kB / 418.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.4279, allocations: 87.78 kB / 418.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.4279, allocations: 0 / 418.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.428, allocations: 39.97 kB / 419 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.4286, allocations: 74.92 kB / 419 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.4295, allocations: 399.2 kB / 419.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.43, allocations: 0.7437 MB / 420.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.4302, allocations: 33.78 kB / 420.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.4302, allocations: 27.36 kB / 420.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4303, allocations: 0 / 420.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of Templates: time 0.008083/0.4383, allocations: 2.964 MB / 423.2 MB, free: 3.219 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches