Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 189.5 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 43.92 kB / 370.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3885, allocations: 52.17 MB / 423.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003537/0.392, allocations: 1.526 MB / 424.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005376/0.3925, allocations: 135.5 kB / 424.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3926, allocations: 3.938 kB / 424.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.551e-05/0.3927, allocations: 0 / 424.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.3929, allocations: 11.92 kB / 424.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3931, allocations: 39.78 kB / 424.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3932, allocations: 23.98 kB / 424.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3934, allocations: 8 kB / 424.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.3934, allocations: 19.86 kB / 424.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.3934, allocations: 11.94 kB / 424.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3935, allocations: 4 kB / 424.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.3935, allocations: 4 kB / 424.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.3935, allocations: 11.92 kB / 424.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.3936, allocations: 19.88 kB / 424.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.3937, allocations: 39.61 kB / 425 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3937, allocations: 0 / 425 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3937, allocations: 0 / 425 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3937, allocations: 0 / 425 MB, free: 12.79 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.0005693/0.3943, allocations: 283.5 kB / 425.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.3944, allocations: 12.03 kB / 425.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.3944, allocations: 16.88 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.3947, allocations: 134.4 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3947, allocations: 384 / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3948, allocations: 4.375 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.395, allocations: 89.61 kB / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.395, allocations: 4.188 kB / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3951, allocations: 3.938 kB / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3951, allocations: 0 / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.497e-05/0.3951, allocations: 11.94 kB / 425.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.3957, allocations: 232.9 kB / 425.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3958, allocations: 53.08 kB / 425.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.3959, allocations: 13.78 kB / 425.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3959, allocations: 0 / 425.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.3959, allocations: 34.56 kB / 425.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.396, allocations: 0 / 425.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003009/0.3963, allocations: 65.78 kB / 425.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.3964, allocations: 81.11 kB / 426 MB, free: 11.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.3966, allocations: 125.8 kB / 426.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3966, allocations: 25.7 kB / 426.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.3967, allocations: 88.14 kB / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.3967, allocations: 0 / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.3967, allocations: 17.72 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.397, allocations: 318.8 kB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.397, allocations: 8.031 kB / 426.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.397, allocations: 17.72 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.3971, allocations: 21.7 kB / 426.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3971, allocations: 3.938 kB / 426.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.3972, allocations: 65.52 kB / 426.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3972, allocations: 4 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.3973, allocations: 0 / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.3973, allocations: 4 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.54e-05/0.3973, allocations: 0 / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3973, allocations: 0 / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.3973, allocations: 0 / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3974, allocations: 4 kB / 426.7 MB, free: 10.86 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 (sample1.u,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.0001555/0.3975, allocations: 125.7 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.3976, allocations: 45.66 kB / 426.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.3976, allocations: 11.47 kB / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3976, allocations: 0 / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3976, allocations: 4 kB / 426.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3976, allocations: 0 / 426.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3979, allocations: 136.7 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3979, allocations: 0 / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-06/0.3979, allocations: 0 / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3979, allocations: 4 kB / 427 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3979, allocations: 4 kB / 427 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3979, allocations: 4.031 kB / 427 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3979, allocations: 0 / 427 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3981, allocations: 156.2 kB / 427.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.3982, allocations: 11.98 kB / 427.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3982, allocations: 0 / 427.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.3983, allocations: 4 kB / 427.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.3983, allocations: 8.016 kB / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3983, allocations: 0 / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3984, allocations: 106.8 kB / 427.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3984, allocations: 0 / 427.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3987, allocations: 4 kB / 427.3 MB, free: 10.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: 2 (sample1.u,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.0001784/0.3989, allocations: 95.25 kB / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.3991, allocations: 19.92 kB / 427.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3991, allocations: 4.125 kB / 427.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.3991, allocations: 4 kB / 427.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.3995, allocations: 23.89 kB / 427.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.4, allocations: 126.5 kB / 427.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.4004, allocations: 0.6999 MB / 428.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.63e-05/0.4004, allocations: 3.938 kB / 428.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.4005, allocations: 11.59 kB / 428.3 MB, free: 9.117 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4005, allocations: 4 kB / 428.3 MB, free: 9.113 MB / 334.1 MB Notification: Performance of Templates: time 0.003697/0.4042, allocations: 453.8 kB / 428.7 MB, free: 8.676 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.8923283368349075]