Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001783/0.001783, allocations: 205.2 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.684/1.684, allocations: 230.4 MB / 250 MB, free: 9.082 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 75.81 kB / 367.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3823, allocations: 53.3 MB / 420.7 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003772/0.3861, allocations: 1.873 MB / 422.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3876, allocations: 0.7013 MB / 423.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3878, allocations: 7.938 kB / 423.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.388, allocations: 19.73 kB / 423.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3881, allocations: 23.8 kB / 423.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.3886, allocations: 111.7 kB / 423.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.3888, allocations: 143.6 kB / 423.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.389, allocations: 49.7 kB / 423.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.3892, allocations: 55.72 kB / 423.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3894, allocations: 63.62 kB / 423.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.3894, allocations: 12 kB / 423.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.3895, allocations: 20 kB / 423.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.3895, allocations: 23.92 kB / 423.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.3896, allocations: 63.55 kB / 423.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.3899, allocations: 151.1 kB / 424 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3899, allocations: 0 / 424 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3899, allocations: 0 / 424 MB, free: 5.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3899, allocations: 0 / 424 MB, free: 5.043 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.0007787/0.3907, allocations: 462.8 kB / 424.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3908, allocations: 8.031 kB / 424.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.391, allocations: 28.78 kB / 424.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.3914, allocations: 260.9 kB / 424.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.3914, allocations: 12.12 kB / 424.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3915, allocations: 8 kB / 424.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.3921, allocations: 274.8 kB / 425 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3921, allocations: 3.938 kB / 425 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.3921, allocations: 4 kB / 425 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3922, allocations: 4 kB / 425 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.3924, allocations: 79.86 kB / 425.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.393, allocations: 419.5 kB / 425.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.3935, allocations: 290.1 kB / 425.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.3937, allocations: 108.3 kB / 425.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.3937, allocations: 11.98 kB / 425.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.3938, allocations: 34.56 kB / 425.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.3938, allocations: 0 / 425.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006107/0.3944, allocations: 221.6 kB / 426.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.3945, allocations: 199.9 kB / 426.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3947, allocations: 174.3 kB / 426.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3948, allocations: 30.08 kB / 426.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.3948, allocations: 104.1 kB / 426.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.3949, allocations: 19.88 kB / 426.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.3949, allocations: 33.72 kB / 426.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3951, allocations: 334.8 kB / 427 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.3952, allocations: 23.98 kB / 427 MB, free: 1.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.3953, allocations: 126.5 kB / 427.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.3956, allocations: 165.5 kB / 427.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3956, allocations: 0 / 427.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002829/0.3958, allocations: 165.4 kB / 427.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3959, allocations: 11.94 kB / 427.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3959, allocations: 4 kB / 427.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3959, allocations: 4 kB / 427.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.396, allocations: 35.92 kB / 427.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.396, allocations: 11.88 kB / 427.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-05/0.3961, allocations: 11.95 kB / 427.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3962, allocations: 16.3 kB / 427.6 MB, free: 0.9648 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.0001378/0.3963, allocations: 129.8 kB / 427.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.3966, allocations: 149.4 kB / 427.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.3966, allocations: 21.39 kB / 427.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3967, allocations: 4 kB / 427.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3967, allocations: 0 / 427.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3967, allocations: 4 kB / 427.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.397, allocations: 213.5 kB / 428.1 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.397, allocations: 8.031 kB / 428.1 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3971, allocations: 39.92 kB / 428.1 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.3971, allocations: 3.938 kB / 428.1 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3971, allocations: 7.984 kB / 428.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3971, allocations: 0 / 428.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3971, allocations: 4 kB / 428.2 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.3976, allocations: 352 kB / 428.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3977, allocations: 116.9 kB / 428.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.3977, allocations: 3.938 kB / 428.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3979, allocations: 19.98 kB / 428.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.3979, allocations: 0 / 428.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.3979, allocations: 12 kB / 428.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3981, allocations: 136.3 kB / 428.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3981, allocations: 0 / 428.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.3984, allocations: 20.09 kB / 428.8 MB, free: 15.63 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.0001489/0.3986, allocations: 111.4 kB / 428.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.3989, allocations: 111.9 kB / 429 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3989, allocations: 0 / 429 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.631e-05/0.3989, allocations: 15.92 kB / 429 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.3996, allocations: 103.1 kB / 429.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.4005, allocations: 372 kB / 429.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.4009, allocations: 0.7241 MB / 430.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.792e-05/0.401, allocations: 13.55 kB / 430.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.401, allocations: 15.44 kB / 430.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.401, allocations: 0 / 430.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Templates: time 0.006086/0.4071, allocations: 1.725 MB / 432 MB, free: 12.42 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches