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.00122/0.00122, allocations: 114.4 kB / 16.63 MB, free: 6.793 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.001422/0.001423, allocations: 189.8 kB / 17.55 MB, free: 5.918 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.449/1.449, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 51.92 kB / 300.1 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1076, allocations: 49.44 MB / 349.6 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002608/0.1103, allocations: 0.9722 MB / 350.5 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.1107, allocations: 131.6 kB / 350.7 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1108, allocations: 3.938 kB / 350.7 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.111, allocations: 15.92 kB / 350.7 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1111, allocations: 0 / 350.7 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1114, allocations: 43.83 kB / 350.7 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1115, allocations: 63.84 kB / 350.8 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1117, allocations: 40.2 kB / 350.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.1117, allocations: 23.92 kB / 350.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.1118, allocations: 35.78 kB / 350.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1118, allocations: 8 kB / 350.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.1118, allocations: 8 kB / 350.9 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.1119, allocations: 27.91 kB / 350.9 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.1119, allocations: 43.67 kB / 351 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1121, allocations: 75.7 kB / 351.1 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1121, allocations: 0 / 351.1 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1121, allocations: 4 kB / 351.1 MB, free: 3.258 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1121, allocations: 0 / 351.1 MB, free: 3.258 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.0004452/0.1126, allocations: 387.3 kB / 351.4 MB, free: 2.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1126, allocations: 16.02 kB / 351.5 MB, free: 2.812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.1127, allocations: 12.84 kB / 351.5 MB, free: 2.801 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.1129, allocations: 200 kB / 351.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1129, allocations: 12.33 kB / 351.7 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1129, allocations: 12.36 kB / 351.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.1133, allocations: 210.5 kB / 351.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1133, allocations: 192 / 351.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1133, allocations: 7.938 kB / 351.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1133, allocations: 7.984 kB / 351.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.1134, allocations: 31.92 kB / 351.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.1136, allocations: 193.5 kB / 352.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.1138, allocations: 131 kB / 352.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1139, allocations: 76.06 kB / 352.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1139, allocations: 7.938 kB / 352.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.114, allocations: 34.56 kB / 352.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.114, allocations: 0 / 352.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002957/0.1143, allocations: 153.4 kB / 352.5 MB, free: 1.625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.1144, allocations: 59.41 kB / 352.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1146, allocations: 152.1 kB / 352.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1146, allocations: 29.7 kB / 352.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.1147, allocations: 84.47 kB / 352.8 MB, free: 1.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1147, allocations: 11.98 kB / 352.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.1147, allocations: 41.61 kB / 352.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1149, allocations: 322.8 kB / 353.2 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.1149, allocations: 19.94 kB / 353.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.115, allocations: 117.7 kB / 353.3 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1152, allocations: 153.5 kB / 353.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1152, allocations: 0 / 353.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002068/0.1154, allocations: 157.2 kB / 353.6 MB, free: 360 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1154, allocations: 15.88 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1154, allocations: 4 kB / 353.7 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1155, allocations: 4.5 kB / 353.7 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.1155, allocations: 15.94 kB / 353.7 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1155, allocations: 11.98 kB / 353.7 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.1156, allocations: 7.906 kB / 353.7 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1156, allocations: 12 kB / 353.7 MB, free: 288 kB / 286.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.0001542/0.1158, allocations: 137.7 kB / 353.8 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1159, allocations: 121.5 kB / 354 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.116, allocations: 21.22 kB / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.116, allocations: 0 / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.116, allocations: 4 kB / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.116, allocations: 0 / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1161, allocations: 189.5 kB / 354.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1162, allocations: 3.938 kB / 354.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.1162, allocations: 4 kB / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/0.1162, allocations: 7.938 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1162, allocations: 3.984 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1162, allocations: 3.984 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1162, allocations: 3.938 kB / 354.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.1164, allocations: 155.8 kB / 354.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.1165, allocations: 97 kB / 354.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1165, allocations: 11.92 kB / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.1166, allocations: 0 / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-06/0.1166, allocations: 0 / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1166, allocations: 4 kB / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.453e-05/0.1167, allocations: 106.1 kB / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1167, allocations: 0 / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1169, allocations: 16 kB / 354.6 MB, free: 15.31 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 0.0001291/0.117, allocations: 115.2 kB / 354.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1172, allocations: 103.7 kB / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1172, allocations: 1 kB / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1172, allocations: 0 / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1176, allocations: 83.94 kB / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.1181, allocations: 261.5 kB / 355.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1185, allocations: 0.72 MB / 355.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.1186, allocations: 4.656 kB / 355.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1186, allocations: 15.44 kB / 355.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1186, allocations: 0 / 355.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Templates: time 0.003088/0.1217, allocations: 1.018 MB / 356.9 MB, free: 12.95 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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