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.001747/0.001747, allocations: 97.03 kB / 17.06 MB, free: 6.121 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.002122/0.002122, allocations: 194.9 kB / 17.99 MB, free: 5.199 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.667/1.667, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 51.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.419, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.003251/0.4223, allocations: 0.9176 MB / 401.6 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.4229, allocations: 135.5 kB / 401.8 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.423, allocations: 4 kB / 401.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.4232, allocations: 11.86 kB / 401.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.4234, allocations: 3.938 kB / 401.8 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.4238, allocations: 47.88 kB / 401.8 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.424, allocations: 59.78 kB / 401.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.4242, allocations: 52.2 kB / 401.9 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.4242, allocations: 23.91 kB / 402 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.4243, allocations: 35.78 kB / 402 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.4243, allocations: 4 kB / 402 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.4243, allocations: 12 kB / 402 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.4245, allocations: 23.92 kB / 402 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.4246, allocations: 35.73 kB / 402.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.4248, allocations: 79.7 kB / 402.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.4248, allocations: 3.938 kB / 402.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4248, allocations: 0 / 402.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.4248, allocations: 4 kB / 402.2 MB, free: 7.418 MB / 318.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.0005548/0.4254, allocations: 388.3 kB / 402.5 MB, free: 6.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4254, allocations: 8.031 kB / 402.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.4255, allocations: 20.75 kB / 402.6 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.4258, allocations: 208 kB / 402.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.4259, allocations: 4.375 kB / 402.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.4259, allocations: 12.38 kB / 402.8 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.4264, allocations: 218.2 kB / 403 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4264, allocations: 192 / 403 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.4264, allocations: 3.938 kB / 403 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4264, allocations: 4 kB / 403 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.282e-05/0.4265, allocations: 35.98 kB / 403 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.4267, allocations: 181.6 kB / 403.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.427, allocations: 126.6 kB / 403.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.4272, allocations: 89.12 kB / 403.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.4272, allocations: 3.938 kB / 403.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4272, allocations: 34.56 kB / 403.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.4272, allocations: 0 / 403.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004749/0.4277, allocations: 155.6 kB / 403.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.4278, allocations: 71.34 kB / 403.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.428, allocations: 144.2 kB / 403.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.428, allocations: 29.7 kB / 403.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.4281, allocations: 84.47 kB / 403.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.4281, allocations: 11.89 kB / 404 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.4282, allocations: 37.7 kB / 404 MB, free: 5.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4283, allocations: 318.8 kB / 404.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.4284, allocations: 23.98 kB / 404.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.4285, allocations: 125.6 kB / 404.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.4287, allocations: 149.5 kB / 404.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4287, allocations: 0 / 404.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002666/0.429, allocations: 161.2 kB / 404.8 MB, free: 4.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.429, allocations: 7.938 kB / 404.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.429, allocations: 4 kB / 404.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.4291, allocations: 8.5 kB / 404.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.4291, allocations: 15.94 kB / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4291, allocations: 4 kB / 404.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-05/0.4292, allocations: 8 kB / 404.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.4293, allocations: 11.98 kB / 404.8 MB, free: 4.445 MB / 318.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.0001858/0.4294, allocations: 154.2 kB / 405 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.4296, allocations: 121.4 kB / 405.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.4297, allocations: 17.17 kB / 405.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4297, allocations: 8 kB / 405.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4297, allocations: 0 / 405.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4297, allocations: 3.938 kB / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.4299, allocations: 185.6 kB / 405.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4299, allocations: 0 / 405.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.43, allocations: 7.938 kB / 405.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.43, allocations: 3.938 kB / 405.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.43, allocations: 4 kB / 405.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.43, allocations: 0 / 405.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.43, allocations: 4 kB / 405.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.4302, allocations: 155.7 kB / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-05/0.4304, allocations: 101 kB / 405.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.4304, allocations: 7.938 kB / 405.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.4304, allocations: 4 kB / 405.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-06/0.4304, allocations: 0 / 405.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.4305, allocations: 4 kB / 405.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.125e-05/0.4306, allocations: 109.6 kB / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.617e-06/0.4306, allocations: 0 / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.4308, allocations: 19.94 kB / 405.7 MB, free: 3.453 MB / 318.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.0002168/0.4311, allocations: 107.2 kB / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.4313, allocations: 95.77 kB / 405.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4313, allocations: 1 kB / 405.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-06/0.4314, allocations: 3.938 kB / 405.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.4319, allocations: 80 kB / 406 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.4324, allocations: 225.5 kB / 406.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.4328, allocations: 0.7161 MB / 406.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.307e-05/0.4329, allocations: 8.641 kB / 406.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.433, allocations: 15.44 kB / 406.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.433, allocations: 0 / 406.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of Templates: time 0.004405/0.4374, allocations: 1.032 MB / 408 MB, free: 1.133 MB / 318.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