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.001814/0.001814, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.002312/0.002312, allocations: 151.2 kB / 24.49 MB, free: 3.723 MB / 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.425/1.425, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.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.00154/0.00154, allocations: 48.39 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09103, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00338/0.09441, allocations: 1.532 MB / 373.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004236/0.09484, allocations: 139.6 kB / 373.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.689e-05/0.09492, allocations: 7.938 kB / 373.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.09504, allocations: 3.938 kB / 373.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.09514, allocations: 11.92 kB / 373.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.09537, allocations: 35.91 kB / 373.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.0955, allocations: 47.78 kB / 373.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.09561, allocations: 15.92 kB / 373.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.09564, allocations: 19.92 kB / 373.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.245e-05/0.09568, allocations: 7.938 kB / 373.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.0957, allocations: 8 kB / 373.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.09571, allocations: 0 / 373.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.09577, allocations: 19.92 kB / 373.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.0958, allocations: 15.88 kB / 373.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.09593, allocations: 59.67 kB / 373.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.09593, allocations: 0 / 373.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09593, allocations: 0 / 373.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.09594, allocations: 0 / 373.5 MB, free: 5.418 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.0004843/0.09643, allocations: 298 kB / 373.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.09647, allocations: 12.92 kB / 373.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.0965, allocations: 12.89 kB / 373.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.09676, allocations: 149 kB / 373.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.09678, allocations: 4.375 kB / 374 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.0968, allocations: 4.375 kB / 374 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.09708, allocations: 114.5 kB / 374.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.09709, allocations: 192 / 374.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.0971, allocations: 7.938 kB / 374.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.09713, allocations: 7.984 kB / 374.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.09722, allocations: 31.92 kB / 374.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.09763, allocations: 297.6 kB / 374.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.09776, allocations: 75.78 kB / 374.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.09784, allocations: 34.56 kB / 374.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.09786, allocations: 4 kB / 374.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.09789, allocations: 46.48 kB / 374.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.09789, allocations: 0 / 374.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003273/0.09822, allocations: 101.5 kB / 374.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.09831, allocations: 106.8 kB / 374.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.09844, allocations: 137.8 kB / 374.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.09846, allocations: 25.7 kB / 374.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.09853, allocations: 88.12 kB / 375 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.09854, allocations: 8 kB / 375 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.09858, allocations: 21.67 kB / 375 MB, free: 3.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.09873, allocations: 319.2 kB / 375.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.09878, allocations: 12 kB / 375.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.09884, allocations: 39.36 kB / 375.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.09895, allocations: 55.34 kB / 375.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.09896, allocations: 0 / 375.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001487/0.0991, allocations: 77.59 kB / 375.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.09912, allocations: 4 kB / 375.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.09912, allocations: 0 / 375.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.09914, allocations: 4 kB / 375.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-05/0.09916, allocations: 3.984 kB / 375.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.09917, allocations: 3.938 kB / 375.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.0992, allocations: 4 kB / 375.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.09922, allocations: 4 kB / 375.6 MB, free: 3.094 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.000116/0.09933, allocations: 129.7 kB / 375.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.481e-05/0.09943, allocations: 49.75 kB / 375.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.09946, allocations: 11.95 kB / 375.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.09947, allocations: 4 kB / 375.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.09948, allocations: 0 / 375.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.09948, allocations: 0 / 375.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.09967, allocations: 125.2 kB / 375.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.09968, allocations: 3.938 kB / 375.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.09969, allocations: 4 kB / 375.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.09969, allocations: 0 / 375.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.0997, allocations: 0 / 375.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.0997, allocations: 3.984 kB / 375.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.0997, allocations: 8.031 kB / 375.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.09994, allocations: 255.6 kB / 376.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.09998, allocations: 19.86 kB / 376.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.09999, allocations: 4 kB / 376.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1001, allocations: 0 / 376.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.1001, allocations: 7.984 kB / 376.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1001, allocations: 0 / 376.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.1002, allocations: 105.9 kB / 376.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1002, allocations: 0 / 376.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1005, allocations: 19.94 kB / 376.3 MB, free: 2.289 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.0001067/0.1006, allocations: 103.2 kB / 376.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1008, allocations: 39.92 kB / 376.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1008, allocations: 0 / 376.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.1008, allocations: 15.92 kB / 376.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1012, allocations: 36.33 kB / 376.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.1016, allocations: 171.2 kB / 376.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.489e-05/0.1017, allocations: 75.33 kB / 376.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.474e-05/0.1018, allocations: 7.984 kB / 376.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.1018, allocations: 12.5 kB / 376.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1018, allocations: 0 / 376.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Templates: time 0.00342/0.1052, allocations: 0.6835 MB / 377.4 MB, free: 1.117 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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.257497171987779]