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.001772/0.001772, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002762/0.002763, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4065, allocations: 50.54 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.005571/0.4121, allocations: 1.917 MB / 411.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.4148, allocations: 1.297 MB / 412.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.415, allocations: 4 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.4154, allocations: 67.66 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.4159, allocations: 143.4 kB / 412.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.4168, allocations: 226.9 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.4172, allocations: 183.5 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.4174, allocations: 37.53 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.4175, allocations: 83.62 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.4177, allocations: 79.62 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.4177, allocations: 12 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.4179, allocations: 75.94 kB / 413.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.418, allocations: 51.78 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.4181, allocations: 83.42 kB / 413.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.4186, allocations: 251 kB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.4186, allocations: 0 / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4186, allocations: 0 / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.4187, allocations: 0 / 413.7 MB, free: 13.07 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.0009242/0.4196, allocations: 0.5478 MB / 414.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4196, allocations: 12.03 kB / 414.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.4197, allocations: 24.66 kB / 414.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.4203, allocations: 283.6 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-05/0.4204, allocations: 12.31 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.4204, allocations: 16.11 kB / 414.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.421, allocations: 168.4 kB / 414.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.421, allocations: 4 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.421, allocations: 4 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.421, allocations: 0 / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.4212, allocations: 43.89 kB / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/0.4221, allocations: 486.3 kB / 415.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.4225, allocations: 142.5 kB / 415.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.4226, allocations: 55.42 kB / 415.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.4226, allocations: 7.984 kB / 415.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.4229, allocations: 97.03 kB / 415.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.4229, allocations: 0 / 415.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004651/0.4234, allocations: 169.2 kB / 415.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.4235, allocations: 188.3 kB / 415.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.424, allocations: 339 kB / 416.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.424, allocations: 25.7 kB / 416.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4241, allocations: 136.3 kB / 416.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.4242, allocations: 19.88 kB / 416.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.4242, allocations: 33.7 kB / 416.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4244, allocations: 334.8 kB / 416.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.4245, allocations: 27.98 kB / 416.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.4246, allocations: 103.6 kB / 416.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.4248, allocations: 93.08 kB / 417 MB, free: 9.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4248, allocations: 0 / 417 MB, free: 9.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000274/0.4251, allocations: 137.6 kB / 417.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4251, allocations: 8 kB / 417.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4251, allocations: 0 / 417.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.4252, allocations: 4 kB / 417.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4253, allocations: 40.02 kB / 417.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.4253, allocations: 4 kB / 417.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.4254, allocations: 11.88 kB / 417.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4254, allocations: 4 kB / 417.2 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.0001745/0.4256, allocations: 161.7 kB / 417.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.4257, allocations: 73.36 kB / 417.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.4258, allocations: 33.72 kB / 417.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4258, allocations: 64 / 417.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4258, allocations: 8 kB / 417.5 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4258, allocations: 7.969 kB / 417.5 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.4261, allocations: 241.5 kB / 417.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4261, allocations: 7.984 kB / 417.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.4262, allocations: 15.94 kB / 417.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4262, allocations: 0 / 417.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.4262, allocations: 8 kB / 417.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4262, allocations: 3.984 kB / 417.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4262, allocations: 0 / 417.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.4265, allocations: 187.3 kB / 418 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.4266, allocations: 112.8 kB / 418.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.4267, allocations: 15.92 kB / 418.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.4267, allocations: 0 / 418.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.4268, allocations: 19.92 kB / 418.1 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.4269, allocations: 8 kB / 418.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004944/0.4274, allocations: 253.9 kB / 418.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4274, allocations: 0 / 418.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.4277, allocations: 39.91 kB / 418.4 MB, free: 7.883 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.001077/0.4287, allocations: 412.1 kB / 418.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.429, allocations: 92.03 kB / 418.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4291, allocations: 0 / 418.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.78e-05/0.4292, allocations: 39.97 kB / 418.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.4296, allocations: 68.95 kB / 419 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007139/0.4303, allocations: 383.4 kB / 419.4 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.4307, allocations: 0.7476 MB / 420.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.925e-05/0.4308, allocations: 25.55 kB / 420.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.4309, allocations: 27.42 kB / 420.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4309, allocations: 0 / 420.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of Templates: time 0.008696/0.4396, allocations: 2.972 MB / 423.2 MB, free: 3.23 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