Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 117.8 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.00235/0.00235, allocations: 201.2 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.492/1.492, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4095, allocations: 50.55 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.004377/0.4139, allocations: 1.566 MB / 410.8 MB, free: 16 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.4154, allocations: 0.557 MB / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.4156, allocations: 0 / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.422e-05/0.4156, allocations: 3.938 kB / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.4159, allocations: 15.88 kB / 411.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.4164, allocations: 63.8 kB / 411.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.4165, allocations: 47.78 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.4167, allocations: 12.19 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.4168, allocations: 35.84 kB / 411.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.4169, allocations: 19.86 kB / 411.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.4169, allocations: 4 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.417, allocations: 8 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.417, allocations: 15.92 kB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.4171, allocations: 27.81 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.4173, allocations: 59.73 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4173, allocations: 0 / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4173, allocations: 0 / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.4173, allocations: 0 / 411.7 MB, free: 15.14 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006428/0.418, allocations: 380.3 kB / 412 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.418, allocations: 8.031 kB / 412 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.4183, allocations: 20.83 kB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.4186, allocations: 208 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4187, allocations: 8.312 kB / 412.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.4187, allocations: 4.375 kB / 412.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.419, allocations: 105.2 kB / 412.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4191, allocations: 3.984 kB / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4191, allocations: 0 / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4191, allocations: 0 / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.4192, allocations: 23.92 kB / 412.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.4196, allocations: 265.6 kB / 412.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.4198, allocations: 49.2 kB / 412.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.4198, allocations: 13.78 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.4199, allocations: 3.984 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.4199, allocations: 38.5 kB / 412.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 2.093e-06/0.4199, allocations: 4 kB / 412.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002896/0.4202, allocations: 65.61 kB / 412.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.4203, allocations: 77.11 kB / 412.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.4205, allocations: 140.2 kB / 413 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.4205, allocations: 25.7 kB / 413.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.4206, allocations: 96.03 kB / 413.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.4206, allocations: 4.25 kB / 413.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.4207, allocations: 17.72 kB / 413.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4208, allocations: 318.8 kB / 413.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.4209, allocations: 7.984 kB / 413.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.421, allocations: 17.72 kB / 413.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.421, allocations: 33.7 kB / 413.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4211, allocations: 4 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001195/0.4212, allocations: 61.58 kB / 413.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4212, allocations: 4 kB / 413.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4212, allocations: 0 / 413.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4212, allocations: 0 / 413.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.4213, allocations: 11.94 kB / 413.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.922e-06/0.4213, allocations: 0 / 413.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.4214, allocations: 8.047 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4214, allocations: 4 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001228/0.4215, allocations: 125.7 kB / 413.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.4216, allocations: 49.58 kB / 413.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.4217, allocations: 7.828 kB / 413.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4217, allocations: 4 kB / 413.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4217, allocations: 0 / 413.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4217, allocations: 0 / 413.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.4219, allocations: 169.6 kB / 414 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4219, allocations: 8.031 kB / 414 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.422, allocations: 7.984 kB / 414 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.422, allocations: 7.875 kB / 414 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.422, allocations: 0 / 414 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.422, allocations: 3.938 kB / 414 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.422, allocations: 0 / 414 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.4223, allocations: 164.2 kB / 414.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.4224, allocations: 89 kB / 414.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4224, allocations: 8 kB / 414.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/0.4225, allocations: 3.984 kB / 414.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.4226, allocations: 0 / 414.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4226, allocations: 4 kB / 414.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.365e-05/0.4227, allocations: 109.5 kB / 414.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4227, allocations: 0 / 414.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.4229, allocations: 4 kB / 414.4 MB, free: 12.03 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001456/0.4231, allocations: 99.28 kB / 414.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.4232, allocations: 23.92 kB / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4232, allocations: 0 / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.4233, allocations: 11.98 kB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.4237, allocations: 19.95 kB / 414.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.4242, allocations: 171.8 kB / 414.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.4247, allocations: 0.6885 MB / 415.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.4247, allocations: 0 / 415.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.4248, allocations: 19.42 kB / 415.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4248, allocations: 0 / 415.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Templates: time 0.003949/0.4287, allocations: 0.5284 MB / 416 MB, free: 10.42 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches