Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 102.5 kB / 17.06 MB, free: 6.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 198.9 kB / 18 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 51.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3748, allocations: 49.42 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003038/0.3779, allocations: 1.507 MB / 402.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004268/0.3784, allocations: 135.5 kB / 402.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.3785, allocations: 3.938 kB / 402.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.3786, allocations: 3.938 kB / 402.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.3787, allocations: 3.984 kB / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.379, allocations: 43.84 kB / 402.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3791, allocations: 31.92 kB / 402.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3792, allocations: 11.98 kB / 402.4 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.3793, allocations: 11.94 kB / 402.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.3793, allocations: 7.938 kB / 402.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.3794, allocations: 0 / 402.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.3794, allocations: 7.938 kB / 402.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.3794, allocations: 11.98 kB / 402.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.3795, allocations: 23.8 kB / 402.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3796, allocations: 39.83 kB / 402.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.3797, allocations: 4 kB / 402.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.3797, allocations: 4 kB / 402.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3797, allocations: 0 / 402.6 MB, free: 7.027 MB / 318.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.0006297/0.3803, allocations: 358.1 kB / 402.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.3804, allocations: 8.031 kB / 402.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.3804, allocations: 8.844 kB / 402.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.3807, allocations: 207.5 kB / 403.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3807, allocations: 4.375 kB / 403.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.3807, allocations: 384 / 403.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.381, allocations: 93.61 kB / 403.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3811, allocations: 192 / 403.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3811, allocations: 3.938 kB / 403.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3811, allocations: 0 / 403.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.3812, allocations: 15.98 kB / 403.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.3816, allocations: 253.8 kB / 403.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3817, allocations: 49.08 kB / 403.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.3817, allocations: 17.78 kB / 403.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3818, allocations: 4 kB / 403.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3818, allocations: 42.44 kB / 403.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.3818, allocations: 0 / 403.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002625/0.3821, allocations: 61.58 kB / 403.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.3822, allocations: 81.3 kB / 403.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3824, allocations: 138 kB / 403.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3824, allocations: 25.7 kB / 403.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.3825, allocations: 92.12 kB / 404 MB, free: 5.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.3825, allocations: 0 / 404 MB, free: 5.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.3826, allocations: 17.72 kB / 404 MB, free: 5.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3827, allocations: 310.8 kB / 404.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.3828, allocations: 7.984 kB / 404.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.3828, allocations: 25.72 kB / 404.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.3829, allocations: 25.64 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3829, allocations: 0 / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001164/0.383, allocations: 57.53 kB / 404.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3831, allocations: 4.125 kB / 404.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3831, allocations: 8 kB / 404.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3831, allocations: 7.969 kB / 404.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.3832, allocations: 4 kB / 404.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3832, allocations: 0 / 404.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.3832, allocations: 7.938 kB / 404.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3832, allocations: 0 / 404.4 MB, free: 4.863 MB / 318.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: 2 (step.y,sample1.y) * 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.775e-05/0.3833, allocations: 121.8 kB / 404.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.3834, allocations: 37.61 kB / 404.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.3835, allocations: 11.91 kB / 404.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3835, allocations: 4 kB / 404.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3835, allocations: 0 / 404.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3835, allocations: 0 / 404.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.3837, allocations: 169.6 kB / 404.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3837, allocations: 0 / 404.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.3838, allocations: 4 kB / 404.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.3838, allocations: 11.98 kB / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3838, allocations: 0 / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3838, allocations: 0 / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3838, allocations: 3.938 kB / 404.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.384, allocations: 164.3 kB / 405 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.3841, allocations: 93 kB / 405.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3841, allocations: 0 / 405.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.695e-05/0.3842, allocations: 0 / 405.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.3842, allocations: 7.984 kB / 405.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.3842, allocations: 4.031 kB / 405.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.941e-05/0.3843, allocations: 106.6 kB / 405.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3843, allocations: 0 / 405.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000229/0.3846, allocations: 4 kB / 405.2 MB, free: 4.031 MB / 318.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: 2 (step.y,sample1.y) * 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.0001434/0.3847, allocations: 99.98 kB / 405.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.3849, allocations: 23.92 kB / 405.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3849, allocations: 4.062 kB / 405.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.3849, allocations: 11.98 kB / 405.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.3853, allocations: 18.22 kB / 405.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.3856, allocations: 142.2 kB / 405.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3859, allocations: 0.6961 MB / 406.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.664e-05/0.3859, allocations: 0 / 406.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.386, allocations: 11.59 kB / 406.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.386, allocations: 4 kB / 406.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of Templates: time 0.002847/0.3888, allocations: 438.6 kB / 406.6 MB, free: 2.539 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches