Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 88.8 kB / 17.31 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 178.9 kB / 18.22 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002268/0.0002269, allocations: 11.94 kB / 302.1 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07423/0.07447, allocations: 50.41 MB / 352.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001111/0.07562, allocations: 0.6209 MB / 353.1 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.07595, allocations: 135.6 kB / 353.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.07605, allocations: 11.94 kB / 353.3 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.358e-05/0.07613, allocations: 3.938 kB / 353.3 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.585e-05/0.07621, allocations: 7.984 kB / 353.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.07643, allocations: 39.28 kB / 353.3 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.07653, allocations: 59.84 kB / 353.4 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.07666, allocations: 48.12 kB / 353.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.07669, allocations: 15.94 kB / 353.4 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.07674, allocations: 19.8 kB / 353.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.07676, allocations: 0 / 353.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.07678, allocations: 4 kB / 353.5 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.07684, allocations: 23.91 kB / 353.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.0769, allocations: 57.44 kB / 353.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.331e-05/0.07699, allocations: 55.88 kB / 353.6 MB, free: 2.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.077, allocations: 3.938 kB / 353.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.07701, allocations: 0 / 353.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.07702, allocations: 4 kB / 353.6 MB, free: 2.371 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003246/0.07735, allocations: 379.4 kB / 354 MB, free: 1.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.07738, allocations: 8.031 kB / 354 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.07742, allocations: 16.75 kB / 354 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.0776, allocations: 192.2 kB / 354.2 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.07763, allocations: 12.31 kB / 354.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.07765, allocations: 8.375 kB / 354.2 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.07803, allocations: 214.4 kB / 354.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.07804, allocations: 192 / 354.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.07806, allocations: 7.938 kB / 354.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.07807, allocations: 0 / 354.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.07815, allocations: 31.98 kB / 354.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.0783, allocations: 189.5 kB / 354.6 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.07851, allocations: 134.6 kB / 354.8 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.07863, allocations: 77.19 kB / 354.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.07865, allocations: 4 kB / 354.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.07867, allocations: 38.5 kB / 354.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.07868, allocations: 4 kB / 354.9 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.000264/0.07895, allocations: 156.4 kB / 355 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.07901, allocations: 59.41 kB / 355.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.07912, allocations: 148.5 kB / 355.2 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.07914, allocations: 25.7 kB / 355.3 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.07918, allocations: 88.47 kB / 355.4 MB, free: 420 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.07921, allocations: 11.89 kB / 355.4 MB, free: 408 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.07925, allocations: 25.72 kB / 355.4 MB, free: 376 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.07934, allocations: 326.8 kB / 355.7 MB, free: 40 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.07938, allocations: 19.98 kB / 355.7 MB, free: 20 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.07948, allocations: 113.7 kB / 355.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.07963, allocations: 157.5 kB / 356 MB, free: 15.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.07964, allocations: 3.938 kB / 356 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002092/0.07985, allocations: 153.6 kB / 356.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.07988, allocations: 15.98 kB / 356.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.07989, allocations: 4 kB / 356.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.07991, allocations: 4 kB / 356.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-05/0.07994, allocations: 11.94 kB / 356.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.07996, allocations: 4 kB / 356.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.08002, allocations: 15.84 kB / 356.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.08003, allocations: 8 kB / 356.2 MB, free: 15.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001206/0.08016, allocations: 149.6 kB / 356.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.08032, allocations: 121.5 kB / 356.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.08038, allocations: 17.19 kB / 356.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.08038, allocations: 4 kB / 356.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.0804, allocations: 7.984 kB / 356.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.0804, allocations: 3.984 kB / 356.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.08051, allocations: 185.5 kB / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.08052, allocations: 0 / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.08055, allocations: 3.938 kB / 356.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.08056, allocations: 7.938 kB / 356.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.08057, allocations: 4 kB / 356.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.08058, allocations: 4 kB / 356.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.08058, allocations: 0 / 356.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.08077, allocations: 148.9 kB / 356.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.08084, allocations: 97 kB / 356.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.08086, allocations: 3.938 kB / 357 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.08089, allocations: 8 kB / 357 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-06/0.0809, allocations: 0 / 357 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.08091, allocations: 3.938 kB / 357 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.458e-05/0.08098, allocations: 113.8 kB / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08099, allocations: 4 kB / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.08124, allocations: 16 kB / 357.1 MB, free: 14.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 9.221e-05/0.08133, allocations: 103.2 kB / 357.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.08151, allocations: 100 kB / 357.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.08152, allocations: 0 / 357.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.08153, allocations: 4 kB / 357.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.08188, allocations: 79.98 kB / 357.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.08225, allocations: 292.9 kB / 357.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.08248, allocations: 0.7087 MB / 358.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.08251, allocations: 15.44 kB / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.08252, allocations: 3.938 kB / 358.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Templates: time 0.002505/0.08503, allocations: 1.177 MB / 359.6 MB, free: 11.91 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches