Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 108.7 kB / 18.78 MB, free: 3.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 215.9 kB / 19.8 MB, free: 2.574 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.607/1.607, allocations: 230.4 MB / 251.1 MB, free: 8.469 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.00193/0.00193, allocations: 71.83 kB / 369 MB, free: 6.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3782, allocations: 53.3 MB / 422.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003326/0.3815, allocations: 1.516 MB / 423.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004427/0.382, allocations: 135.5 kB / 423.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.3821, allocations: 7.938 kB / 423.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.92e-05/0.3821, allocations: 0 / 423.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.3823, allocations: 3.938 kB / 423.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.3826, allocations: 43.83 kB / 424 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3827, allocations: 31.92 kB / 424 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3828, allocations: 7.984 kB / 424 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.3829, allocations: 11.94 kB / 424 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.3829, allocations: 15.86 kB / 424 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.383, allocations: 4 kB / 424 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.383, allocations: 0 / 424 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.383, allocations: 8 kB / 424 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.3831, allocations: 23.8 kB / 424.1 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3832, allocations: 43.34 kB / 424.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3832, allocations: 0 / 424.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3832, allocations: 0 / 424.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3832, allocations: 4 kB / 424.1 MB, free: 6.027 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.0005709/0.3838, allocations: 359.2 kB / 424.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3838, allocations: 12.03 kB / 424.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.3839, allocations: 12.88 kB / 424.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3842, allocations: 184.2 kB / 424.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-06/0.3842, allocations: 4.375 kB / 424.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.3842, allocations: 4.375 kB / 424.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3845, allocations: 85.67 kB / 424.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3845, allocations: 4.125 kB / 424.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3845, allocations: 3.938 kB / 424.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3845, allocations: 3.938 kB / 424.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.067e-05/0.3846, allocations: 19.98 kB / 424.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.385, allocations: 253.8 kB / 425 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.3851, allocations: 57.02 kB / 425.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.3851, allocations: 17.77 kB / 425.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3852, allocations: 4 kB / 425.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3852, allocations: 38.56 kB / 425.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3852, allocations: 0 / 425.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002438/0.3854, allocations: 57.62 kB / 425.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.3855, allocations: 85.03 kB / 425.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3857, allocations: 141.5 kB / 425.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3857, allocations: 29.7 kB / 425.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.3858, allocations: 84.14 kB / 425.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.3858, allocations: 0 / 425.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.3859, allocations: 13.72 kB / 425.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.386, allocations: 322.8 kB / 425.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.3861, allocations: 4 kB / 425.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.3861, allocations: 21.7 kB / 425.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/0.3862, allocations: 25.7 kB / 425.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3862, allocations: 4 kB / 425.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001109/0.3863, allocations: 57.52 kB / 426 MB, free: 3.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3863, allocations: 8 kB / 426 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3863, allocations: 0 / 426 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3863, allocations: 4.125 kB / 426 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.3864, allocations: 8 kB / 426 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3864, allocations: 0 / 426 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.3864, allocations: 7.984 kB / 426 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3864, allocations: 0 / 426 MB, free: 3.859 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: 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 0.000104/0.3865, allocations: 125.7 kB / 426.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.3866, allocations: 37.66 kB / 426.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.3866, allocations: 19.81 kB / 426.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3866, allocations: 4.031 kB / 426.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3866, allocations: 0 / 426.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3866, allocations: 0 / 426.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3868, allocations: 165.6 kB / 426.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3868, allocations: 4 kB / 426.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.3869, allocations: 4 kB / 426.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3869, allocations: 3.938 kB / 426.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.3869, allocations: 0 / 426.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3869, allocations: 3.984 kB / 426.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3869, allocations: 0 / 426.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.3871, allocations: 168.3 kB / 426.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.3872, allocations: 89 kB / 426.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3872, allocations: 3.984 kB / 426.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.3872, allocations: 12 kB / 426.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.3873, allocations: 0 / 426.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3873, allocations: 0 / 426.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.583e-05/0.3873, allocations: 111.2 kB / 426.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3873, allocations: 0 / 426.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.3876, allocations: 8 kB / 426.7 MB, free: 3.004 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: 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.0001579/0.3877, allocations: 95.25 kB / 426.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.3879, allocations: 19.92 kB / 426.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3879, allocations: 0 / 426.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.3879, allocations: 12.12 kB / 426.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3882, allocations: 15.95 kB / 426.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.3886, allocations: 142.3 kB / 427 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.389, allocations: 0.6885 MB / 427.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.114e-05/0.3891, allocations: 0 / 427.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.3891, allocations: 11.44 kB / 427.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3891, allocations: 0 / 427.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of Templates: time 0.003437/0.3925, allocations: 462.7 kB / 428.2 MB, free: 1.52 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches