Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 113.6 kB / 17.83 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.001279/0.001279, allocations: 207.9 kB / 18.79 MB, free: 4.309 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.436/1.436, allocations: 230.4 MB / 250 MB, free: 9.023 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.002035/0.002035, allocations: 63.84 kB / 367.3 MB, free: 7.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 53.32 MB / 420.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002914/0.3574, allocations: 1.569 MB / 422.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3584, allocations: 0.5298 MB / 422.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.3585, allocations: 4 kB / 422.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.498e-05/0.3586, allocations: 7.938 kB / 422.8 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.3587, allocations: 11.86 kB / 422.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.359, allocations: 55.81 kB / 422.8 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.3591, allocations: 43.86 kB / 422.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3592, allocations: 12.17 kB / 422.9 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3594, allocations: 39.84 kB / 422.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.107e-05/0.3594, allocations: 23.8 kB / 422.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3594, allocations: 4 kB / 422.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.3595, allocations: 4 kB / 422.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.3595, allocations: 15.92 kB / 423 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.3596, allocations: 31.81 kB / 423 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.3597, allocations: 59.53 kB / 423.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3597, allocations: 0 / 423.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3597, allocations: 0 / 423.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3597, allocations: 0 / 423.1 MB, free: 5.93 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.0005116/0.3602, allocations: 387 kB / 423.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3603, allocations: 8.031 kB / 423.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.3604, allocations: 20.88 kB / 423.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.3607, allocations: 196.3 kB / 423.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3607, allocations: 4.375 kB / 423.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.3607, allocations: 8.359 kB / 423.7 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.361, allocations: 105.2 kB / 423.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.361, allocations: 4 kB / 423.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.361, allocations: 3.938 kB / 423.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.361, allocations: 0 / 423.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.3611, allocations: 23.92 kB / 423.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.3614, allocations: 265.7 kB / 424.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.454e-05/0.3615, allocations: 53.14 kB / 424.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.3615, allocations: 17.78 kB / 424.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3616, allocations: 0 / 424.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3616, allocations: 34.55 kB / 424.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3616, allocations: 0 / 424.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002479/0.3618, allocations: 73.58 kB / 424.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.3619, allocations: 81.09 kB / 424.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3621, allocations: 137.8 kB / 424.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3621, allocations: 25.7 kB / 424.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.3621, allocations: 88.14 kB / 424.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.3621, allocations: 11.94 kB / 424.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.3622, allocations: 9.969 kB / 424.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3623, allocations: 326.8 kB / 424.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.073e-05/0.3624, allocations: 7.984 kB / 424.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.3624, allocations: 25.66 kB / 424.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.417e-05/0.3625, allocations: 21.7 kB / 424.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3625, allocations: 4.062 kB / 425 MB, free: 3.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001192/0.3626, allocations: 65.56 kB / 425 MB, free: 3.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3626, allocations: 4 kB / 425 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3626, allocations: 0 / 425 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3626, allocations: 0 / 425 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.3627, allocations: 7.938 kB / 425 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3627, allocations: 4 kB / 425 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.3627, allocations: 3.984 kB / 425 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3628, allocations: 4 kB / 425 MB, free: 3.672 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 9.047e-05/0.3628, allocations: 125.8 kB / 425.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.3629, allocations: 37.66 kB / 425.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.3629, allocations: 15.81 kB / 425.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3629, allocations: 3.938 kB / 425.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.363, allocations: 0 / 425.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.363, allocations: 4 kB / 425.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3631, allocations: 173.6 kB / 425.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3631, allocations: 3.938 kB / 425.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.3632, allocations: 8.031 kB / 425.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.3632, allocations: 4 kB / 425.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3632, allocations: 3.984 kB / 425.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3632, allocations: 0 / 425.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3632, allocations: 0 / 425.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.3634, allocations: 160.3 kB / 425.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.3635, allocations: 97.08 kB / 425.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.3635, allocations: 0 / 425.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.3636, allocations: 7.984 kB / 425.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.3636, allocations: 3.938 kB / 425.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3636, allocations: 0 / 425.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.3637, allocations: 114 kB / 425.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3637, allocations: 0 / 425.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.3639, allocations: 4 kB / 425.8 MB, free: 2.812 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.0001098/0.364, allocations: 99.25 kB / 425.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.3642, allocations: 19.98 kB / 425.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3642, allocations: 0 / 425.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.3642, allocations: 11.94 kB / 425.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3645, allocations: 19.95 kB / 425.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.3649, allocations: 159.7 kB / 426.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3653, allocations: 0.6948 MB / 426.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.3653, allocations: 7.984 kB / 426.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.3653, allocations: 7.438 kB / 426.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3653, allocations: 0 / 426.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of Templates: time 0.003153/0.3685, allocations: 0.5434 MB / 427.3 MB, free: 1.203 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches