Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 215.1 kB / 19.8 MB, free: 2.559 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.543/1.543, allocations: 230.4 MB / 251.1 MB, free: 8.438 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.002043/0.002043, allocations: 67.81 kB / 368.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3896, allocations: 53.31 MB / 422.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003366/0.3929, allocations: 1.516 MB / 423.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004579/0.3934, allocations: 131.5 kB / 423.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-05/0.3935, allocations: 0 / 423.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.671e-05/0.3935, allocations: 3.938 kB / 423.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.3937, allocations: 11.94 kB / 423.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.394, allocations: 39.84 kB / 424 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3941, allocations: 23.97 kB / 424 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3943, allocations: 4 kB / 424 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.3943, allocations: 19.92 kB / 424 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/0.3944, allocations: 11.94 kB / 424 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.3944, allocations: 3.938 kB / 424 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.3944, allocations: 4 kB / 424 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.3945, allocations: 11.92 kB / 424 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.3945, allocations: 19.88 kB / 424.1 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3947, allocations: 39.19 kB / 424.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3947, allocations: 0 / 424.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3947, allocations: 0 / 424.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3947, allocations: 0 / 424.1 MB, free: 6.039 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.0006578/0.3954, allocations: 363.2 kB / 424.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.3954, allocations: 12.03 kB / 424.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.3955, allocations: 8.891 kB / 424.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3958, allocations: 188.2 kB / 424.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3958, allocations: 384 / 424.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3958, allocations: 4.375 kB / 424.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3961, allocations: 93.61 kB / 424.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3961, allocations: 192 / 424.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3961, allocations: 3.938 kB / 424.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3961, allocations: 0 / 424.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.3962, allocations: 15.92 kB / 424.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.3966, allocations: 265.8 kB / 425 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.3967, allocations: 41.09 kB / 425.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.3967, allocations: 25.75 kB / 425.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3967, allocations: 0 / 425.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3968, allocations: 30.56 kB / 425.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.3968, allocations: 4 kB / 425.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.397, allocations: 61.58 kB / 425.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3971, allocations: 77.11 kB / 425.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3972, allocations: 132.9 kB / 425.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3972, allocations: 25.7 kB / 425.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.3973, allocations: 84.14 kB / 425.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3973, allocations: 12.19 kB / 425.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.3973, allocations: 21.72 kB / 425.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3975, allocations: 310.8 kB / 425.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.3975, allocations: 7.938 kB / 425.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.3976, allocations: 29.64 kB / 425.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/0.3976, allocations: 21.78 kB / 425.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3976, allocations: 0 / 425.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.3977, allocations: 53.56 kB / 425.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3977, allocations: 4 kB / 425.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3978, allocations: 0 / 425.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3978, allocations: 0 / 425.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.933e-05/0.3978, allocations: 4 kB / 426 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3978, allocations: 0 / 426 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.3978, allocations: 3.984 kB / 426 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.3978, allocations: 4 kB / 426 MB, free: 3.902 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 9.606e-05/0.3979, allocations: 121.8 kB / 426.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.398, allocations: 37.59 kB / 426.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.398, allocations: 19.47 kB / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.398, allocations: 0 / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.398, allocations: 0 / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.398, allocations: 4 kB / 426.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.3982, allocations: 161.6 kB / 426.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3982, allocations: 0 / 426.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-06/0.3982, allocations: 3.984 kB / 426.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3982, allocations: 4.031 kB / 426.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3983, allocations: 0 / 426.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3983, allocations: 4 kB / 426.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3983, allocations: 0 / 426.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.3984, allocations: 156.2 kB / 426.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.3985, allocations: 89.05 kB / 426.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3985, allocations: 8.031 kB / 426.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.3986, allocations: 7.938 kB / 426.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.3986, allocations: 0 / 426.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.3986, allocations: 4 kB / 426.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.3987, allocations: 99.25 kB / 426.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3987, allocations: 0 / 426.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.3989, allocations: 8 kB / 426.7 MB, free: 3.078 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.0001369/0.3991, allocations: 99.19 kB / 426.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.3992, allocations: 19.98 kB / 426.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.3992, allocations: 4 kB / 426.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.3992, allocations: 15.88 kB / 426.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3996, allocations: 15.91 kB / 426.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.3999, allocations: 142.4 kB / 427 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.4003, allocations: 0.6848 MB / 427.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.609e-05/0.4003, allocations: 7.984 kB / 427.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.4004, allocations: 11.44 kB / 427.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4004, allocations: 0 / 427.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of Templates: time 0.003353/0.4037, allocations: 437.4 kB / 428.1 MB, free: 1.602 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches