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.001319/0.001319, allocations: 116.9 kB / 18.41 MB, free: 4.625 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.001366/0.001366, allocations: 190.9 kB / 21.34 MB, free: 1.695 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.483/1.483, allocations: 222.9 MB / 247 MB, free: 4.184 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.001831/0.001831, allocations: 51.91 kB / 358.7 MB, free: 8.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1099, allocations: 49.44 MB / 408.1 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003589/0.1135, allocations: 1.508 MB / 409.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004553/0.114, allocations: 155.4 kB / 409.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.1141, allocations: 0 / 409.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1143, allocations: 7.922 kB / 409.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.1144, allocations: 7.938 kB / 409.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1147, allocations: 39.83 kB / 409.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1148, allocations: 39.86 kB / 409.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.115, allocations: 19.98 kB / 409.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.115, allocations: 19.92 kB / 409.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.1151, allocations: 15.92 kB / 409.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1151, allocations: 0 / 409.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.1151, allocations: 4 kB / 409.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.654e-05/0.1152, allocations: 15.92 kB / 409.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.1153, allocations: 27.81 kB / 410 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1154, allocations: 59.61 kB / 410 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1154, allocations: 4 kB / 410 MB, free: 4.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1154, allocations: 0 / 410 MB, free: 4.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1154, allocations: 0 / 410 MB, free: 4.863 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.0005699/0.116, allocations: 379.1 kB / 410.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1161, allocations: 8.031 kB / 410.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.1161, allocations: 8.891 kB / 410.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1164, allocations: 196.2 kB / 410.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1165, allocations: 384 / 410.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1165, allocations: 8.375 kB / 410.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.1168, allocations: 122.4 kB / 410.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1168, allocations: 192 / 410.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1168, allocations: 7.875 kB / 410.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.1169, allocations: 4 kB / 410.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.117, allocations: 31.92 kB / 410.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.1175, allocations: 354 kB / 411.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1176, allocations: 79.72 kB / 411.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.1177, allocations: 34.62 kB / 411.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.1177, allocations: 7.922 kB / 411.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1178, allocations: 46.5 kB / 411.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1178, allocations: 0 / 411.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003283/0.1181, allocations: 97.55 kB / 411.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.1182, allocations: 106.8 kB / 411.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1183, allocations: 139.8 kB / 411.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1184, allocations: 25.7 kB / 411.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.1185, allocations: 92.09 kB / 411.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1185, allocations: 4.375 kB / 411.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.1185, allocations: 25.67 kB / 411.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1187, allocations: 318.8 kB / 412.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.1187, allocations: 12 kB / 412.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/0.1188, allocations: 31.42 kB / 412.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1189, allocations: 63.28 kB / 412.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1189, allocations: 0 / 412.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001588/0.1191, allocations: 65.62 kB / 412.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1191, allocations: 11.98 kB / 412.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1191, allocations: 128 / 412.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1192, allocations: 4 kB / 412.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.724e-05/0.1192, allocations: 4 kB / 412.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1192, allocations: 3.938 kB / 412.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.1193, allocations: 4 kB / 412.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1193, allocations: 0 / 412.3 MB, free: 2.309 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.0001214/0.1194, allocations: 129.7 kB / 412.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1195, allocations: 53.64 kB / 412.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.1196, allocations: 11.91 kB / 412.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.1196, allocations: 0 / 412.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1196, allocations: 4 kB / 412.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1196, allocations: 0 / 412.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1199, allocations: 185.5 kB / 412.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1199, allocations: 7.922 kB / 412.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/0.1199, allocations: 3.938 kB / 412.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1199, allocations: 4 kB / 412.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1199, allocations: 0 / 412.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1199, allocations: 0 / 412.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1199, allocations: 0 / 412.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.1202, allocations: 251.6 kB / 412.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.1203, allocations: 97.05 kB / 413 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1203, allocations: 0 / 413 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.1204, allocations: 3.984 kB / 413 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.1205, allocations: 4 kB / 413 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1205, allocations: 4 kB / 413 MB, free: 1.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.022e-05/0.1206, allocations: 109.5 kB / 413.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1206, allocations: 3.938 kB / 413.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1209, allocations: 19.89 kB / 413.1 MB, free: 1.328 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.000159/0.121, allocations: 103.2 kB / 413.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1212, allocations: 36.11 kB / 413.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1213, allocations: 4.062 kB / 413.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.512e-05/0.1213, allocations: 15.98 kB / 413.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.1218, allocations: 27.95 kB / 413.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.1222, allocations: 204.8 kB / 413.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1226, allocations: 0.6986 MB / 414.2 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.1226, allocations: 15.44 kB / 414.2 MB, free: 164 kB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1226, allocations: 0 / 414.2 MB, free: 164 kB / 334.1 MB Notification: Performance of Templates: time 0.00302/0.1256, allocations: 0.8089 MB / 415 MB, free: 15.36 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.849923806032166]