Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002408/0.002408, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.122/2.122, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.5253, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00377/0.5291, allocations: 0.9259 MB / 433.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.5296, allocations: 131.5 kB / 433.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.5298, allocations: 7.938 kB / 433.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.5299, allocations: 7.875 kB / 433.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.53, allocations: 15.92 kB / 433.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.5303, allocations: 39.91 kB / 433.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.5305, allocations: 63.88 kB / 433.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.5307, allocations: 28.02 kB / 433.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.5308, allocations: 31.86 kB / 433.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.5308, allocations: 23.86 kB / 433.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.5309, allocations: 12 kB / 433.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.254e-05/0.5309, allocations: 4 kB / 433.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.531, allocations: 39.78 kB / 433.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.5311, allocations: 27.8 kB / 433.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.5313, allocations: 82.78 kB / 433.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5313, allocations: 0 / 433.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5313, allocations: 3.938 kB / 433.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.5313, allocations: 0 / 433.8 MB, free: 5.27 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006261/0.5319, allocations: 317.6 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.532, allocations: 12.03 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.532, allocations: 8.891 kB / 434.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.5324, allocations: 150.3 kB / 434.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.5324, allocations: 8.375 kB / 434.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.5325, allocations: 8.375 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.5331, allocations: 230.1 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5332, allocations: 4.188 kB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.5332, allocations: 7.938 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5332, allocations: 0 / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.5333, allocations: 31.98 kB / 434.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.5335, allocations: 129.2 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.5339, allocations: 125.3 kB / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.5341, allocations: 69.11 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.5341, allocations: 4 kB / 434.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.5342, allocations: 34.5 kB / 434.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.5342, allocations: 0 / 434.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004793/0.5346, allocations: 165.4 kB / 435 MB, free: 3.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.5347, allocations: 63.39 kB / 435.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.5349, allocations: 144.4 kB / 435.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.535, allocations: 29.7 kB / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.5351, allocations: 88.45 kB / 435.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.5351, allocations: 8 kB / 435.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.5352, allocations: 41.66 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.5354, allocations: 322.8 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.13e-05/0.5354, allocations: 19.98 kB / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.5356, allocations: 109.7 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.5359, allocations: 157.5 kB / 436 MB, free: 2.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5359, allocations: 4 kB / 436 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000421/0.5363, allocations: 149.7 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.5364, allocations: 8 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.5364, allocations: 8 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.5364, allocations: 7.938 kB / 436.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/0.5365, allocations: 15.92 kB / 436.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.5365, allocations: 11.94 kB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.5366, allocations: 7.953 kB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.5366, allocations: 12 kB / 436.2 MB, free: 2.539 MB / 334.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.000206/0.5368, allocations: 137.9 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.5371, allocations: 124.7 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.5372, allocations: 21.06 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5372, allocations: 0 / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5372, allocations: 0 / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5372, allocations: 0 / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.5374, allocations: 125.2 kB / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5374, allocations: 0 / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.5374, allocations: 4 kB / 436.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5374, allocations: 0 / 436.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.5374, allocations: 4 kB / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.5374, allocations: 7.938 kB / 436.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5374, allocations: 3.938 kB / 436.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.5378, allocations: 149 kB / 436.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5379, allocations: 39.75 kB / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.5379, allocations: 0 / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.538, allocations: 7.938 kB / 436.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-06/0.538, allocations: 0 / 436.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.538, allocations: 4 kB / 436.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.5381, allocations: 110.4 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5381, allocations: 0 / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004425/0.5386, allocations: 16 kB / 437 MB, free: 1.742 MB / 334.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.0002011/0.5388, allocations: 119.1 kB / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003176/0.5391, allocations: 87.83 kB / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5391, allocations: 0 / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-06/0.5391, allocations: 5 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.5397, allocations: 78.36 kB / 437.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.5404, allocations: 224.5 kB / 437.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.5406, allocations: 96.61 kB / 437.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.058e-05/0.5406, allocations: 8.641 kB / 437.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.5407, allocations: 19.44 kB / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5407, allocations: 0 / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of Templates: time 0.006347/0.547, allocations: 1.165 MB / 438.7 MB, free: 15.93 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.742225870009861]