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/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.001444/0.001444, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001656/0.001656, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.537/1.537, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 52.05 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3243, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003611/0.3279, allocations: 1.534 MB / 422.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005375/0.3284, allocations: 139.5 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.3285, allocations: 0 / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.245e-05/0.3286, allocations: 3.938 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.3288, allocations: 11.92 kB / 422.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.3291, allocations: 35.91 kB / 422.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3293, allocations: 35.92 kB / 422.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3294, allocations: 11.98 kB / 422.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.3294, allocations: 11.94 kB / 422.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.3295, allocations: 15.86 kB / 422.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.3295, allocations: 0 / 422.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.3295, allocations: 4 kB / 422.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.3296, allocations: 11.98 kB / 422.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.3297, allocations: 27.8 kB / 422.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.3298, allocations: 51.55 kB / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.3299, allocations: 0 / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3299, allocations: 3.938 kB / 422.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.3299, allocations: 4 kB / 422.7 MB, free: 13.24 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007811/0.3307, allocations: 364.6 kB / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3307, allocations: 11.97 kB / 423.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.3308, allocations: 8.891 kB / 423.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3311, allocations: 196.2 kB / 423.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.3312, allocations: 4.375 kB / 423.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3312, allocations: 384 / 423.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.3316, allocations: 117.5 kB / 423.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3316, allocations: 192 / 423.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3316, allocations: 7.938 kB / 423.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3316, allocations: 0 / 423.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/0.3317, allocations: 15.98 kB / 423.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.3321, allocations: 261.8 kB / 423.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3323, allocations: 134.2 kB / 423.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.3324, allocations: 29.75 kB / 423.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.3324, allocations: 4 kB / 423.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.3325, allocations: 42.5 kB / 423.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3325, allocations: 0 / 423.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003578/0.3328, allocations: 73.56 kB / 424 MB, free: 11.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.3329, allocations: 77.11 kB / 424.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.333, allocations: 133.2 kB / 424.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.333, allocations: 29.83 kB / 424.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.3331, allocations: 92.09 kB / 424.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.3331, allocations: 3.938 kB / 424.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.3332, allocations: 21.7 kB / 424.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3333, allocations: 314.8 kB / 424.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.3334, allocations: 4 kB / 424.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.3334, allocations: 35.42 kB / 424.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.308e-05/0.3335, allocations: 43.36 kB / 424.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3335, allocations: 0 / 424.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001157/0.3336, allocations: 69.58 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3336, allocations: 7.938 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3336, allocations: 0 / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3336, allocations: 4 kB / 424.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.391e-05/0.3336, allocations: 7.938 kB / 424.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3336, allocations: 7.938 kB / 424.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.3337, allocations: 4 kB / 424.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3337, allocations: 0 / 424.8 MB, free: 10.86 MB / 334.1 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 0.0001093/0.3338, allocations: 129.7 kB / 425 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.3339, allocations: 53.66 kB / 425 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.3339, allocations: 11.89 kB / 425 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3339, allocations: 0 / 425 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3339, allocations: 4 kB / 425 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3339, allocations: 0 / 425 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.3341, allocations: 165.6 kB / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3341, allocations: 0 / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.3341, allocations: 4 kB / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3341, allocations: 0 / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3341, allocations: 0 / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3341, allocations: 0 / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3341, allocations: 4 kB / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.3343, allocations: 168.3 kB / 425.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.3344, allocations: 89.03 kB / 425.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3344, allocations: 4 kB / 425.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.3345, allocations: 4 kB / 425.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.3345, allocations: 0 / 425.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3345, allocations: 8 kB / 425.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.14e-05/0.3346, allocations: 99.25 kB / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3346, allocations: 0 / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.3348, allocations: 8 kB / 425.6 MB, free: 10.02 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: 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 0.0001424/0.3349, allocations: 99.25 kB / 425.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.3351, allocations: 24.3 kB / 425.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3351, allocations: 256 / 425.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.3351, allocations: 8 kB / 425.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3354, allocations: 27.69 kB / 425.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.3359, allocations: 166.2 kB / 425.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.3363, allocations: 0.6883 MB / 426.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.3363, allocations: 7.984 kB / 426.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.3363, allocations: 7.438 kB / 426.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3363, allocations: 4.062 kB / 426.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of Templates: time 0.003387/0.3397, allocations: 0.4914 MB / 427.1 MB, free: 8.441 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.993733135983348]