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.002032/0.002032, 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.002206/0.002206, 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.542/1.542, 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.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.001505/0.001505, allocations: 43.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3205, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003084/0.3236, allocations: 1.514 MB / 422.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004174/0.3241, allocations: 131.5 kB / 422.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.3241, allocations: 4 kB / 422.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.577e-05/0.3242, allocations: 3.938 kB / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.3243, allocations: 7.938 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.3246, allocations: 47.88 kB / 422.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3247, allocations: 31.86 kB / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3248, allocations: 4 kB / 422.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.3249, allocations: 7.938 kB / 422.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.3249, allocations: 19.91 kB / 422.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.3249, allocations: 4 kB / 422.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.3249, allocations: 0 / 422.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.3251, allocations: 11.92 kB / 422.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.3251, allocations: 19.88 kB / 422.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3253, allocations: 39.62 kB / 422.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3253, allocations: 3.938 kB / 422.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3253, allocations: 7.938 kB / 422.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.3253, allocations: 0 / 422.7 MB, free: 13.27 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.0005414/0.3258, allocations: 360.6 kB / 423.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.3259, allocations: 8.031 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.3259, allocations: 8.891 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3262, allocations: 192.2 kB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.3262, allocations: 4.375 kB / 423.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.3262, allocations: 4.375 kB / 423.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.3265, allocations: 89.61 kB / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3265, allocations: 3.938 kB / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.3265, allocations: 0 / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3265, allocations: 0 / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.3265, allocations: 11.94 kB / 423.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.3269, allocations: 261.8 kB / 423.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.531e-05/0.327, allocations: 41.09 kB / 423.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.327, allocations: 25.77 kB / 423.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3271, allocations: 0 / 423.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3271, allocations: 38.56 kB / 423.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3271, allocations: 0 / 423.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002128/0.3273, allocations: 57.58 kB / 423.8 MB, free: 12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.3274, allocations: 77.11 kB / 423.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3275, allocations: 129.8 kB / 424 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3275, allocations: 25.95 kB / 424 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.3276, allocations: 92.14 kB / 424.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.3276, allocations: 0 / 424.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.3276, allocations: 21.7 kB / 424.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3278, allocations: 314.8 kB / 424.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.3278, allocations: 4 kB / 424.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.3278, allocations: 21.7 kB / 424.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.3279, allocations: 25.72 kB / 424.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3279, allocations: 3.938 kB / 424.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.328, allocations: 57.52 kB / 424.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.328, allocations: 4 kB / 424.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.328, allocations: 8 kB / 424.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.328, allocations: 0 / 424.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.434e-05/0.328, allocations: 0 / 424.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3281, allocations: 8.047 kB / 424.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.3281, allocations: 4 kB / 424.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.3281, allocations: 0 / 424.6 MB, free: 11.15 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.0001016/0.3282, allocations: 125.7 kB / 424.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.3283, allocations: 37.66 kB / 424.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.3283, allocations: 11.52 kB / 424.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3283, allocations: 4 kB / 424.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3283, allocations: 0 / 424.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3283, allocations: 0 / 424.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.3285, allocations: 165.6 kB / 424.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3285, allocations: 0 / 424.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-06/0.3285, allocations: 3.938 kB / 424.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3285, allocations: 7.984 kB / 424.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.3285, allocations: 0 / 424.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3285, allocations: 0 / 424.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3285, allocations: 0 / 424.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.3287, allocations: 156.3 kB / 425.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.06e-05/0.3288, allocations: 93.03 kB / 425.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.3288, allocations: 0 / 425.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.3289, allocations: 4 kB / 425.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.3289, allocations: 4 kB / 425.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3289, allocations: 0 / 425.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.746e-05/0.329, allocations: 102.6 kB / 425.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.329, allocations: 3.938 kB / 425.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.3292, allocations: 4 kB / 425.3 MB, free: 10.34 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.0001953/0.3294, allocations: 108.1 kB / 425.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.3295, allocations: 11.94 kB / 425.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3295, allocations: 0 / 425.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.3295, allocations: 11.98 kB / 425.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.3299, allocations: 22.45 kB / 425.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.3303, allocations: 150.6 kB / 425.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.3308, allocations: 0.6844 MB / 426.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.822e-05/0.3308, allocations: 4 kB / 426.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.3308, allocations: 15.36 kB / 426.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3308, allocations: 0 / 426.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of Templates: time 0.003145/0.334, allocations: 439.5 kB / 426.7 MB, free: 8.852 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.944649909622967]