Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009416, allocations: 109.9 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000943/0.0009433, allocations: 43.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3094, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00281/0.3122, allocations: 1.546 MB / 401 MB, free: 31.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004751/0.3128, allocations: 143.5 kB / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.3129, allocations: 4 kB / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.076e-05/0.313, allocations: 0 / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.3132, allocations: 3.938 kB / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.3136, allocations: 43.84 kB / 401.2 MB, free: 31.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.3137, allocations: 25.02 kB / 401.2 MB, free: 31.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3139, allocations: 26.91 kB / 401.3 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.987e-05/0.3139, allocations: 7.938 kB / 401.3 MB, free: 31.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.314, allocations: 19.86 kB / 401.3 MB, free: 31.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.314, allocations: 0 / 401.3 MB, free: 31.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.314, allocations: 4 kB / 401.3 MB, free: 31.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.3141, allocations: 15.92 kB / 401.3 MB, free: 31.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.3142, allocations: 15.88 kB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.3143, allocations: 43.81 kB / 401.4 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.3143, allocations: 0 / 401.4 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3143, allocations: 0 / 401.4 MB, free: 31.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3143, allocations: 0 / 401.4 MB, free: 31.48 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005076/0.3148, allocations: 368.8 kB / 401.7 MB, free: 31.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3149, allocations: 8.031 kB / 401.7 MB, free: 31.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.3149, allocations: 8.844 kB / 401.7 MB, free: 31.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.3151, allocations: 189.1 kB / 401.9 MB, free: 30.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.3152, allocations: 8.312 kB / 401.9 MB, free: 30.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3152, allocations: 4.375 kB / 401.9 MB, free: 30.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.3155, allocations: 109.6 kB / 402.1 MB, free: 30.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3155, allocations: 192 / 402.1 MB, free: 30.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3155, allocations: 7.938 kB / 402.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3155, allocations: 4 kB / 402.1 MB, free: 30.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.872e-05/0.3156, allocations: 15.98 kB / 402.1 MB, free: 30.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.316, allocations: 265.7 kB / 402.3 MB, free: 30.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.3161, allocations: 138.2 kB / 402.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.3162, allocations: 33.72 kB / 402.5 MB, free: 30.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3162, allocations: 0 / 402.5 MB, free: 30.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.3162, allocations: 30.56 kB / 402.5 MB, free: 30.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3162, allocations: 0 / 402.5 MB, free: 30.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002703/0.3165, allocations: 73.52 kB / 402.6 MB, free: 30.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3166, allocations: 81.11 kB / 402.7 MB, free: 29.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.3167, allocations: 137.2 kB / 402.8 MB, free: 29.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.3167, allocations: 25.7 kB / 402.8 MB, free: 29.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.3167, allocations: 92.03 kB / 402.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.3167, allocations: 0 / 402.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.3168, allocations: 25.66 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.3169, allocations: 314.8 kB / 403.3 MB, free: 29.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.3169, allocations: 8 kB / 403.3 MB, free: 29.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.3169, allocations: 31.44 kB / 403.3 MB, free: 29.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.317, allocations: 39.36 kB / 403.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.317, allocations: 0 / 403.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.759e-05/0.3171, allocations: 77.41 kB / 403.4 MB, free: 29.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3171, allocations: 4 kB / 403.4 MB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3171, allocations: 4 kB / 403.4 MB, free: 29.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3172, allocations: 0 / 403.4 MB, free: 29.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.096e-05/0.3172, allocations: 0 / 403.4 MB, free: 29.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.3172, allocations: 7.984 kB / 403.4 MB, free: 29.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.3172, allocations: 0 / 403.4 MB, free: 29.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.3172, allocations: 8 kB / 403.4 MB, free: 29.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.293e-05/0.3173, allocations: 129.8 kB / 403.6 MB, free: 28.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.3174, allocations: 49.62 kB / 403.6 MB, free: 28.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.3174, allocations: 11.91 kB / 403.6 MB, free: 28.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3174, allocations: 0 / 403.6 MB, free: 28.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3174, allocations: 0 / 403.6 MB, free: 28.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3174, allocations: 0 / 403.6 MB, free: 28.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.3176, allocations: 177.4 kB / 403.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3176, allocations: 4 kB / 403.8 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-06/0.3176, allocations: 0 / 403.8 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3176, allocations: 0 / 403.8 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3176, allocations: 3.984 kB / 403.8 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3176, allocations: 8 kB / 403.8 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3176, allocations: 0 / 403.8 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.3179, allocations: 0.7131 MB / 404.5 MB, free: 27.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.318, allocations: 89.38 kB / 404.6 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.318, allocations: 4 kB / 404.6 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.3181, allocations: 8 kB / 404.6 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3181, allocations: 3.984 kB / 404.6 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.3181, allocations: 7.922 kB / 404.6 MB, free: 27.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.201e-05/0.3182, allocations: 99.27 kB / 404.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.3182, allocations: 0 / 404.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000305/0.3185, allocations: 11.94 kB / 404.8 MB, free: 27.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.239e-05/0.3186, allocations: 95.25 kB / 404.8 MB, free: 27.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.3187, allocations: 27.98 kB / 404.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3187, allocations: 0 / 404.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.3187, allocations: 11.92 kB / 404.9 MB, free: 27.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.3192, allocations: 19.97 kB / 404.9 MB, free: 27.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.3196, allocations: 287.3 kB / 405.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3198, allocations: 0.6887 MB / 405.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.828e-05/0.3198, allocations: 4 kB / 405.9 MB, free: 26.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.3199, allocations: 7.438 kB / 405.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3199, allocations: 0 / 405.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of Templates: time 0.002729/0.3226, allocations: 471.2 kB / 406.3 MB, free: 25.98 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches