Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 166.8 kB / 24.5 MB, free: 3.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 177.2 MB / 204.9 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 58.06 kB / 325.5 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.0929, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002837/0.09574, allocations: 1.522 MB / 380.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.09611, allocations: 139.5 kB / 380.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.09617, allocations: 0 / 380.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.09621, allocations: 7.938 kB / 380.6 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.09632, allocations: 11.91 kB / 380.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.09654, allocations: 31.92 kB / 380.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.09663, allocations: 23.92 kB / 380.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.09672, allocations: 11.98 kB / 380.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.09675, allocations: 11.92 kB / 380.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.09679, allocations: 11.94 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.0968, allocations: 4 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.09681, allocations: 3.938 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.09686, allocations: 19.92 kB / 380.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.09688, allocations: 11.88 kB / 380.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.09699, allocations: 51.69 kB / 380.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.09699, allocations: 0 / 380.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09699, allocations: 0 / 380.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.097, allocations: 0 / 380.7 MB, free: 13.8 MB / 350.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.0004237/0.09742, allocations: 290.1 kB / 381 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.09745, allocations: 8.031 kB / 381 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.09748, allocations: 8.891 kB / 381 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.0977, allocations: 130.2 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.0977, allocations: 8.375 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.09772, allocations: 384 / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.09796, allocations: 93.61 kB / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.09797, allocations: 4.172 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.09797, allocations: 3.938 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.09798, allocations: 0 / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.09805, allocations: 19.92 kB / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.09832, allocations: 213.4 kB / 381.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.874e-05/0.09841, allocations: 45.16 kB / 381.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.09846, allocations: 17.77 kB / 381.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.09847, allocations: 7.938 kB / 381.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.0985, allocations: 34.56 kB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.0985, allocations: 0 / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002297/0.09873, allocations: 61.61 kB / 381.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.09879, allocations: 85.36 kB / 381.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.09892, allocations: 134.1 kB / 381.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.09894, allocations: 25.7 kB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.09899, allocations: 84.14 kB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.099, allocations: 7.984 kB / 382 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.09903, allocations: 13.72 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.09918, allocations: 314.8 kB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.09922, allocations: 7.984 kB / 382.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.09926, allocations: 21.66 kB / 382.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.302e-05/0.09933, allocations: 29.77 kB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.09933, allocations: 0 / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.09945, allocations: 61.52 kB / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.09946, allocations: 10.5 kB / 382.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.09946, allocations: 0 / 382.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.09947, allocations: 0 / 382.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.09953, allocations: 7.984 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.09954, allocations: 8 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.09957, allocations: 4 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.09957, allocations: 3.938 kB / 382.5 MB, free: 11.86 MB / 350.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 8.908e-05/0.09966, allocations: 113.8 kB / 382.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.09972, allocations: 45.58 kB / 382.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.09975, allocations: 7.812 kB / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.09975, allocations: 3.938 kB / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.09975, allocations: 0 / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.09975, allocations: 0 / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.09991, allocations: 117.3 kB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.09991, allocations: 4.031 kB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.09995, allocations: 11.98 kB / 382.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.09996, allocations: 3.938 kB / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.09996, allocations: 0 / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.09996, allocations: 0 / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.09996, allocations: 0 / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1001, allocations: 148.4 kB / 382.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.1002, allocations: 19.88 kB / 382.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1002, allocations: 8 kB / 382.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.1003, allocations: 4.031 kB / 382.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.1003, allocations: 7.922 kB / 383 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1003, allocations: 4 kB / 383 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.093e-05/0.1004, allocations: 99.27 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1004, allocations: 0 / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.1006, allocations: 4 kB / 383.1 MB, free: 11.2 MB / 350.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 9.934e-05/0.1007, allocations: 95.25 kB / 383.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.1008, allocations: 19.98 kB / 383.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1008, allocations: 4.125 kB / 383.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.1008, allocations: 15.92 kB / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1011, allocations: 12.02 kB / 383.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.1014, allocations: 146.3 kB / 383.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.1015, allocations: 67.33 kB / 383.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.111e-05/0.1015, allocations: 4 kB / 383.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.1015, allocations: 8.5 kB / 383.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1015, allocations: 160 / 383.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Templates: time 0.002759/0.1043, allocations: 0.4936 MB / 383.9 MB, free: 10.3 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.285042313975282]