Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 117.8 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.36, allocations: 50.55 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003101/0.3631, allocations: 1.554 MB / 411.5 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3642, allocations: 0.522 MB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.3643, allocations: 0 / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.814e-05/0.3644, allocations: 7.922 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.3646, allocations: 11.94 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.3649, allocations: 55.8 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.365, allocations: 47.78 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.3651, allocations: 12 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.3653, allocations: 23.92 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.3653, allocations: 19.91 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3654, allocations: 7.938 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.3654, allocations: 4 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.3655, allocations: 15.92 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.3655, allocations: 23.81 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3657, allocations: 51.81 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3657, allocations: 4 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.3657, allocations: 0 / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3657, allocations: 3.938 kB / 412.3 MB, free: 15.24 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005107/0.3662, allocations: 368.3 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3663, allocations: 12.03 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.3664, allocations: 12.84 kB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.3667, allocations: 198.3 kB / 412.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-06/0.3667, allocations: 8.312 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.3668, allocations: 4.375 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.367, allocations: 97.34 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.367, allocations: 0 / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.367, allocations: 0 / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.367, allocations: 0 / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.3671, allocations: 23.92 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.3675, allocations: 257.8 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.809e-05/0.3676, allocations: 49.14 kB / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.3677, allocations: 25.77 kB / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3677, allocations: 3.984 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3677, allocations: 34.56 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3677, allocations: 4 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002443/0.368, allocations: 65.52 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.368, allocations: 81.36 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3682, allocations: 138.2 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3682, allocations: 29.7 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.3683, allocations: 88.12 kB / 413.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.3683, allocations: 4 kB / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.3683, allocations: 13.62 kB / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3685, allocations: 322.8 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.3685, allocations: 11.92 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.3686, allocations: 21.72 kB / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/0.3686, allocations: 29.64 kB / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3687, allocations: 0 / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.3688, allocations: 57.73 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3688, allocations: 12 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3688, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3688, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.3689, allocations: 4 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3689, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.369, allocations: 7.984 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.369, allocations: 0 / 414.2 MB, free: 13.03 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.556e-05/0.3691, allocations: 121.7 kB / 414.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.3692, allocations: 53.53 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.3692, allocations: 11.83 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3692, allocations: 4 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3692, allocations: 0 / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3692, allocations: 0 / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.3694, allocations: 173.6 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3694, allocations: 0 / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.3695, allocations: 7.984 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3695, allocations: 3.938 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3695, allocations: 0 / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3695, allocations: 4 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3695, allocations: 4.031 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3697, allocations: 168.2 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.3698, allocations: 89 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3698, allocations: 4 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.3699, allocations: 3.984 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.3699, allocations: 8.031 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3699, allocations: 0 / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.843e-05/0.37, allocations: 110 kB / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.37, allocations: 0 / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000223/0.3703, allocations: 7.938 kB / 415 MB, free: 12.16 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.0001105/0.3704, allocations: 95.25 kB / 415.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.3705, allocations: 27.98 kB / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3705, allocations: 8 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.3706, allocations: 4 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3709, allocations: 19.95 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.3713, allocations: 181.3 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3716, allocations: 0.6885 MB / 416 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.3717, allocations: 15.59 kB / 416 MB, free: 11.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3717, allocations: 0 / 416 MB, free: 11.06 MB / 334.1 MB Notification: Performance of Templates: time 0.002204/0.3739, allocations: 0.7242 MB / 416.8 MB, free: 10.34 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches