Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.001959/0.001959, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.001593/0.001593, allocations: 196.4 kB / 22.22 MB, free: 72 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.36 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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 55.91 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3228, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003164/0.326, allocations: 1.538 MB / 422.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004226/0.3264, allocations: 151.5 kB / 422.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.3265, allocations: 7.938 kB / 422.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.3266, allocations: 3.938 kB / 422.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3267, allocations: 3.938 kB / 422.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.3269, allocations: 39.89 kB / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3271, allocations: 43.84 kB / 422.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3272, allocations: 12 kB / 422.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.429e-05/0.3272, allocations: 15.92 kB / 422.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.3273, allocations: 23.86 kB / 422.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3273, allocations: 3.938 kB / 422.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.3273, allocations: 4 kB / 422.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.3274, allocations: 15.92 kB / 422.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.3274, allocations: 31.8 kB / 422.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.3276, allocations: 47.56 kB / 422.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3276, allocations: 0 / 422.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3276, allocations: 0 / 422.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3276, allocations: 0 / 422.8 MB, free: 13.19 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.0005753/0.3282, allocations: 384.5 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3282, allocations: 12.02 kB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.3282, allocations: 8.891 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.3285, allocations: 196.2 kB / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.3286, allocations: 384 / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3286, allocations: 8.375 kB / 423.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.3289, allocations: 126.5 kB / 423.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3289, allocations: 4.172 kB / 423.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3289, allocations: 3.938 kB / 423.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.3289, allocations: 4 kB / 423.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.329, allocations: 27.92 kB / 423.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.3295, allocations: 362 kB / 423.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3296, allocations: 75.72 kB / 424 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.3297, allocations: 38.62 kB / 424 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.3297, allocations: 0 / 424 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3297, allocations: 34.5 kB / 424.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3298, allocations: 0 / 424.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002926/0.33, allocations: 101.8 kB / 424.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.3301, allocations: 110.8 kB / 424.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.3303, allocations: 136.6 kB / 424.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3303, allocations: 25.7 kB / 424.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.3303, allocations: 92.08 kB / 424.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.3304, allocations: 4 kB / 424.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.3304, allocations: 21.67 kB / 424.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3305, allocations: 318.9 kB / 424.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.3306, allocations: 11.98 kB / 424.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-05/0.3306, allocations: 39.36 kB / 424.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.3307, allocations: 59.36 kB / 425 MB, free: 10.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3307, allocations: 0 / 425 MB, free: 10.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.3309, allocations: 73.48 kB / 425 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3309, allocations: 4 kB / 425 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3309, allocations: 4 kB / 425 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3309, allocations: 0 / 425 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.033e-05/0.3309, allocations: 4 kB / 425 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.3309, allocations: 16.09 kB / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.331, allocations: 0 / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.331, allocations: 4 kB / 425.1 MB, free: 10.63 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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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.0001225/0.3311, allocations: 129.7 kB / 425.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.3312, allocations: 49.59 kB / 425.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.3312, allocations: 15.94 kB / 425.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.3313, allocations: 4 kB / 425.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3313, allocations: 0 / 425.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3313, allocations: 8.031 kB / 425.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.3315, allocations: 177.5 kB / 425.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3315, allocations: 0 / 425.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-06/0.3315, allocations: 0 / 425.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3315, allocations: 0 / 425.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3315, allocations: 4 kB / 425.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3315, allocations: 0 / 425.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3315, allocations: 3.984 kB / 425.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.3318, allocations: 267.5 kB / 425.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.3319, allocations: 93.05 kB / 425.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3319, allocations: 4 kB / 425.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.332, allocations: 3.938 kB / 425.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.332, allocations: 4 kB / 425.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.332, allocations: 3.984 kB / 425.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.829e-05/0.3321, allocations: 107.3 kB / 425.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3321, allocations: 0 / 425.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.3324, allocations: 11.95 kB / 425.9 MB, free: 9.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001119/0.3325, allocations: 95.25 kB / 426 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.3326, allocations: 43.91 kB / 426.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3326, allocations: 0 / 426.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.087e-05/0.3327, allocations: 24.17 kB / 426.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3331, allocations: 27.95 kB / 426.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.3335, allocations: 167.2 kB / 426.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.3339, allocations: 0.6961 MB / 427 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.3339, allocations: 7.984 kB / 427 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.334, allocations: 15.59 kB / 427 MB, free: 8.516 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.334, allocations: 4 kB / 427 MB, free: 8.512 MB / 334.1 MB Notification: Performance of Templates: time 0.00314/0.3371, allocations: 0.6271 MB / 427.6 MB, free: 7.906 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.801427419297397]