Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 120.2 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002102/0.002102, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.91 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1266, allocations: 53.38 MB / 427.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00349/0.1301, allocations: 0.9213 MB / 428 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005192/0.1306, allocations: 127.6 kB / 428.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1307, allocations: 3.938 kB / 428.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1309, allocations: 11.86 kB / 428.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.131, allocations: 7.938 kB / 428.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1313, allocations: 55.81 kB / 428.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1315, allocations: 55.91 kB / 428.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1317, allocations: 32.2 kB / 428.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.1317, allocations: 31.86 kB / 428.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.1318, allocations: 31.78 kB / 428.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.1318, allocations: 8 kB / 428.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.1318, allocations: 7.938 kB / 428.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.995e-05/0.1319, allocations: 31.84 kB / 428.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.491e-05/0.132, allocations: 35.75 kB / 428.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1322, allocations: 83.58 kB / 428.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1322, allocations: 0 / 428.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1322, allocations: 0 / 428.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1323, allocations: 0 / 428.5 MB, free: 3.148 MB / 350.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.0006464/0.1329, allocations: 403 kB / 428.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.133, allocations: 8.031 kB / 428.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.244e-05/0.133, allocations: 4.188 kB / 428.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.297e-05/0.133, allocations: 42.67 kB / 428.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.1331, allocations: 12.89 kB / 429 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.1336, allocations: 200.2 kB / 429.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1336, allocations: 8.375 kB / 429.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.1336, allocations: 16.38 kB / 429.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.1342, allocations: 221.6 kB / 429.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1342, allocations: 0 / 429.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1342, allocations: 4 kB / 429.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.1343, allocations: 7.984 kB / 429.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1344, allocations: 35.98 kB / 429.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.1346, allocations: 193.5 kB / 429.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.135, allocations: 114.6 kB / 429.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.1352, allocations: 75.16 kB / 429.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1352, allocations: 0 / 429.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.1352, allocations: 46.5 kB / 429.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.1352, allocations: 3.938 kB / 429.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004605/0.1357, allocations: 149.5 kB / 430 MB, free: 1.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.1358, allocations: 63.41 kB / 430.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.136, allocations: 147.5 kB / 430.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.136, allocations: 25.7 kB / 430.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.1361, allocations: 88.47 kB / 430.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1361, allocations: 8 kB / 430.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.1362, allocations: 45.66 kB / 430.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.1364, allocations: 318.8 kB / 430.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.1365, allocations: 19.98 kB / 430.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.1367, allocations: 127.6 kB / 430.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.1369, allocations: 145.5 kB / 431 MB, free: 348 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.1369, allocations: 4 kB / 431 MB, free: 344 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003549/0.1373, allocations: 165.3 kB / 431.1 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1373, allocations: 8 kB / 431.1 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.1373, allocations: 4 kB / 431.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.1374, allocations: 7.984 kB / 431.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.766e-05/0.1374, allocations: 4 kB / 431.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.1374, allocations: 11.94 kB / 431.2 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1375, allocations: 15.89 kB / 431.2 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1375, allocations: 12 kB / 431.2 MB, free: 108 kB / 350.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.0002095/0.1378, allocations: 142 kB / 431.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.138, allocations: 123 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.971e-05/0.1381, allocations: 17.19 kB / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1381, allocations: 0 / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1381, allocations: 0 / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1381, allocations: 3.984 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1383, allocations: 189.5 kB / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1383, allocations: 0 / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.1383, allocations: 19.88 kB / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1383, allocations: 0 / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1383, allocations: 4 kB / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1383, allocations: 0 / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1383, allocations: 0 / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.1386, allocations: 146.5 kB / 431.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.1388, allocations: 104.9 kB / 431.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.1388, allocations: 11.94 kB / 431.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.1388, allocations: 0 / 431.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.1388, allocations: 4 kB / 431.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1389, allocations: 4 kB / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.139, allocations: 109.6 kB / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.139, allocations: 0 / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004533/0.1394, allocations: 16 kB / 432.1 MB, free: 15.12 MB / 366.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.0009115/0.1403, allocations: 0.7466 MB / 432.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.1406, allocations: 87.78 kB / 432.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1406, allocations: 0 / 432.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.1406, allocations: 5.047 kB / 432.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.1412, allocations: 82.72 kB / 433 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.1435, allocations: 1.635 MB / 434.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.1439, allocations: 0.7122 MB / 435.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.615e-05/0.1439, allocations: 8.641 kB / 435.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.144, allocations: 27.42 kB / 435.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.144, allocations: 3.938 kB / 435.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.1678, allocations: 2.463 MB / 437.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.224, allocations: 4.062 kB / 437.8 MB, free: 9.285 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],integerConstant.k,integerConstant.y,integerConstant1.k,integerConstant1.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y [Calling sys.exit(0), Time elapsed: 11.245228615007363]