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.001527/0.001527, allocations: 109.8 kB / 17.74 MB, free: 5.359 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.001699/0.001699, allocations: 181.5 kB / 18.66 MB, free: 4.445 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 55.91 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2397, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002193/0.2419, allocations: 0.918 MB / 402.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.2423, allocations: 135.5 kB / 402.4 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.2424, allocations: 4 kB / 402.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.656e-05/0.2425, allocations: 7.875 kB / 402.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.2426, allocations: 11.91 kB / 402.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.2428, allocations: 39.91 kB / 402.5 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2429, allocations: 63.83 kB / 402.6 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2431, allocations: 48.2 kB / 402.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.2431, allocations: 23.86 kB / 402.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.2432, allocations: 27.8 kB / 402.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.2432, allocations: 8 kB / 402.7 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.2432, allocations: 4 kB / 402.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.2433, allocations: 31.91 kB / 402.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.2434, allocations: 35.75 kB / 402.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.2435, allocations: 83.64 kB / 402.8 MB, free: 7.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2435, allocations: 0 / 402.8 MB, free: 7.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2435, allocations: 0 / 402.8 MB, free: 7.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2435, allocations: 0 / 402.8 MB, free: 7.434 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.0004143/0.244, allocations: 392.3 kB / 403.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.244, allocations: 8.031 kB / 403.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.244, allocations: 20.69 kB / 403.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.2443, allocations: 208 kB / 403.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2443, allocations: 8.375 kB / 403.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.2443, allocations: 8.359 kB / 403.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.2447, allocations: 211.7 kB / 403.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.2447, allocations: 4.188 kB / 403.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2447, allocations: 7.922 kB / 403.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2447, allocations: 4 kB / 403.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.845e-05/0.2448, allocations: 35.98 kB / 403.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.245, allocations: 181.6 kB / 403.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.2452, allocations: 127 kB / 404 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2453, allocations: 92.02 kB / 404.1 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.2453, allocations: 4 kB / 404.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2454, allocations: 30.56 kB / 404.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.2454, allocations: 0 / 404.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002665/0.2457, allocations: 157.3 kB / 404.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.2457, allocations: 67.34 kB / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2458, allocations: 144.3 kB / 404.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2459, allocations: 33.7 kB / 404.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.2459, allocations: 84.47 kB / 404.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.2459, allocations: 11.89 kB / 404.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.246, allocations: 37.7 kB / 404.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2461, allocations: 322.8 kB / 405 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/0.2462, allocations: 20 kB / 405 MB, free: 5.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.665e-05/0.2463, allocations: 121.6 kB / 405.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.2464, allocations: 153.5 kB / 405.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2464, allocations: 0 / 405.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002129/0.2466, allocations: 153.2 kB / 405.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2467, allocations: 11.94 kB / 405.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2467, allocations: 7.938 kB / 405.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2467, allocations: 4 kB / 405.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.784e-05/0.2467, allocations: 12.48 kB / 405.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2467, allocations: 7.938 kB / 405.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.2468, allocations: 12 kB / 405.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2468, allocations: 8 kB / 405.5 MB, free: 4.457 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.000115/0.2469, allocations: 154.2 kB / 405.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.2471, allocations: 113.4 kB / 405.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.2471, allocations: 21.17 kB / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2471, allocations: 0 / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2472, allocations: 4 kB / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2472, allocations: 4 kB / 405.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.2473, allocations: 189.6 kB / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2473, allocations: 0 / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.2473, allocations: 3.938 kB / 406 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2473, allocations: 11.88 kB / 406 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2474, allocations: 4 kB / 406 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.2474, allocations: 3.984 kB / 406 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2474, allocations: 0 / 406 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.2476, allocations: 156.1 kB / 406.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.2476, allocations: 97 kB / 406.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.2477, allocations: 7.922 kB / 406.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.2477, allocations: 8 kB / 406.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-06/0.2477, allocations: 3.984 kB / 406.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.2477, allocations: 3.938 kB / 406.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.332e-05/0.2478, allocations: 106.2 kB / 406.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2478, allocations: 4 kB / 406.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.248, allocations: 16 kB / 406.4 MB, free: 3.465 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.0001273/0.2482, allocations: 115.2 kB / 406.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.2484, allocations: 91.78 kB / 406.6 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2484, allocations: 0 / 406.6 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2484, allocations: 1 kB / 406.6 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.2488, allocations: 84.38 kB / 406.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.2491, allocations: 251.2 kB / 406.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2494, allocations: 0.72 MB / 407.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.2495, allocations: 11.44 kB / 407.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of SimCode: time 1.693e-06/0.2495, allocations: 0 / 407.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of Templates: time 0.002772/0.2523, allocations: 1.21 MB / 408.8 MB, free: 0.9336 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/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